Custom JSP taglib. Tag boxhighlight lets you highlighting the
box that has the input focus. This technique can significantly improve the user's experience for
complex HTML forms. With this tag you can easily change the background
and foreground color of the active textbox, and thus give immediate
feedback about the field that receives the input. For example:
<%@ taglib uri="taglib.tld" prefix="bh" %> <input type="text" name="f1" value="Coldbeans" <bh:boxhighlight/> > <select name="s" <bh:boxhighlight activeStyle="background:lightblue;color:green"/>> <option value="1">Coldtags suite</option> <option value="2">JSOS</option> </select> and you will get some like this (try to change focus for fields):
Tags are: boxhighlight Custom tag lets you highlighting the box that has the input focus. Parameters are: 1) style Optional parameter. Describes your own CSS style for the normal (passive) state.
Default value: background:white;color:black;
for downloading: Library: boxhighlightingtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|