13.6.2011 13:53, Pankaj Gupta kirjoitti: > Hi All, > > Need quick help. I need to display label with tool tip. > But not sure, if strust 1.2 has any label UI, which can be used. > > Appreciate your help.
I have used something called "wz_tooltip.js", a javascript tool. It
worked like charm with Struts 1.2 when I did that.
Easy-to-use cross-browser tooltips.
Just include the script at the beginning of the <body> section, and invoke
Tip('Tooltip text') to show and UnTip() to hide the tooltip, from the
desired
HTML eventhandlers. Example:
<a onmouseover="Tip('Some text')" onmouseout="UnTip()"
href="index.htm">My home page</a>
No container DIV required.
By default, width and height of tooltips are automatically adapted to
content.
Is even capable of dynamically converting arbitrary HTML elements to
tooltips
by calling TagToTip('ID_of_HTML_element_to_be_converted') instead of Tip(),
which means you can put important, search-engine-relevant stuff into
tooltips.
Appearance & behaviour of tooltips can be individually configured
via commands passed to Tip() or TagToTip().
The latest version is available at
http://www.walterzorn.com
or http://www.devira.com
or http://www.walterzorn.de
--
Give him an evasive answer.
signature.asc
Description: OpenPGP digital signature

