plainblack.com
Username Password
search
Bookmark and Share

ThumbLink Macro

The ThumbLink macro accepts the name of an image from the collateral folder, and creates a link to the full image by default, but can link anywhere you'd like it to.  This is similar to the macro that comes with WebGUI, however this macro does not print the name of the image below it, and this macro also allows you to use images as links to custom urls.

Usage:  ^ThumbLink(name[,popup,url]);

name  - Name of collateral item you wish to create a ThumbLink for (required)
popup - Set this to 1 if you'd like to link to pop up in a new window.  This is 0 by default. (optional)
url   - URL to go to when image is clicked.  This defaults to a link to the full image (optional).

************ Examples**************

### Create a thumbnail which links to the full images
^ThumbLink("collateralItem");

### Create a thumbnail which links to the full image, but pops up in a new window
^ThumbLink("collateralItem",1);

### Create a thumbmail which links to yahoo and pops up in a new window
^ThumbLink("yahooImage",1,"http://www.yahoo.com");

### Create a thumbnail which links to my homepage
^ThumbLink("logo",0,^/;);

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
Comments
DownloadThumbLink.zip ThumbLink.zip
LinksNo Support Offered
Statistics Downloads: 359
Views: 5580
Rating: 0
Updated: 8/12/2005
Keywords macros
NavigationBack to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved