WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.

ImageLink Macro

User: fdillon
Date: 8/12/2005 2:51 pm
Views: 3603
Rating: 32    Rate [
|
]

The ImageLink macro accepts the name of an image from the collateral folder, and creates the image (with all of it's associated properties)
as a link to itself by default, but can link anywhere you'd like it to.

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

name  - Name of collateral item you wish to create an ImageLink 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 an image which links to itself
^ImageLink("collateralItem");

### Create an image which links to itself, but pops up in a new window
^ImageLink("collateralItem",1);

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

### Create an image which links to my homepage
^ImageLink("logo",0,^/;);


 



Replies

PreviousBackNext