Goto link taglib ver. 1.1

    Custom JSP taglib lets you create a hyperlink that will scroll the current window to the particularly DHTML element. For example:
 


<%@ taglib uri="taglib.tld" prefix="g" %>

<div id="top">
...
very very long text here
...
</div>

<g:GotoLink id="top">Top</g:GotoLink>

here tag creates a hyperlink lets readers scroll the window back to the div with DHTML Id top

Tags are:

GotoLink

Body tag displays hyperlink for scrolling the current window to the particularly DHTML element. Parameters are:

1) id Describes a CSS (DHTML) id.
2) title Optional parameter. Describes a title for hyperlink.
3) className Optional parameter. Describes a CSS class for this control.
4) style Optional parameter. Describes a CSS style for this control.
5) rel Optional parameter. Describes a rel attribute for the hyperlink.
 

for downloading:

 Library: gotolinktag.jar     Description: taglib.tld  

 © Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: