Slattery, Tim - BLS wrote:

I would like to display a mouseover title on a data item displayed in the page with bean:write or c:out tags. There is no "title" attribute for either of these tags. What is the best way to do this, preferable without javascript?



Try this:

<span title="stuff to be displayed on mouseover">
 <c:out value="${whatever}"/>
</span>

Works in Firefox and IE.


Just wanted to add that this works with a div as well instead of a span and that a div should be used when you want to wrap tags that are rendered as block-level elements.


Cheers,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to