@nstNavLink(URL, IMGSRC, TEXT, [WIDTH], [HEIGHT])

Inserts a navigation image link.

The following parameters are recognized:

URL

Link to jump to if user presses button.

IMGSRC

URL of image to be displayed.

TEXT

Alternate text to display if image not found.

[WIDTH]

Width of image (in pixels).

[HEIGHT]

Height of image (in pixels).

Example of using the macro:

@nstNavLink("#top","@imageDirUrl()/links_top_arrow.gif","Top Of Page","15","23")

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/html.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")

@nstNavLink("#top","@imageDirUrl()/links_top_arrow.gif","Top Of Page","15","23")

EOF

This macro is defined as:

@htmlEntity("a","
@htmlEntity("img",,"@htmlAttr("src","@param(1)")@htmlAttr("alt","@param(2)")@htmlAttr("width","@param(3)")@htmlAttr("height","@param(4)")@htmlAttr("vspace","0")@htmlAttr("hspace","0")@htmlAttr("border","0")@htmlAttr("align","middle")")
","@htmlAttr("href","@param(0)")@htmlAttr("align","right")@htmlAttr("width","3%")@htmlAttr("title","@param(2)")")