View Full Version : MouseOver Text Help
On an Image SRC the alt="This Is Some Help" is cut and dry on a Mouseover. Can I do this same thing for a Table Cell?
I have some form fields in Table cells and I would like the text help to pop up with Mouseover.
TIA for any tips and/ or guidance.
adios
09-25-2002, 03:01 AM
Here's a nice script:
http://www.dynamicdrive.com/dynamicindex5/texttool.htm
Just stick it in there, and...
<td onmouseover="showtip(this,event,'Your text here')" onmouseout="hidetip()">
<input type="text" style="cursor:pointer;">
</td>
Thank You! Very Much Appreciated.
glenngv
09-25-2002, 03:36 AM
...or if you just want to make it work with IE5 and up / NS6 and up
<td title="this is a tooltip for TD">
title attribute works for almost all html tags, except for <select> tag.
other samples:
<font title="This is a text">This is a text</font>
<input type="button" value="Submit" title="Click to Submit">
<a href="test.htm" title="This is a link">Link</a>
<body title="This is the title of the body">
<b title="This is a bold text">Bold text</b>
beetle
09-25-2002, 04:08 AM
That works, but just an FYI, the straight HTML solution is to use the title attribute
<td title="This Is Some Help"> </td>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.