PDA

View Full Version : js tooltips


vivvip
09-30-2005, 09:17 AM
I have inserted a js tooltip which works fine on my desktop but when uploaded to my site it does not work either in aol or ie. what have i left out?

iota
09-30-2005, 11:12 AM
You mean Desktop for you can run js tooltips successfully on local drive, right ?

http://www.twinhelix.com

Visit there and try his freeware tooltips.

Or you just download my JS collection Lib (http://icebergz.flashband.net/myfreewares/jslib.exe).

Vladdy
09-30-2005, 01:05 PM
I have inserted a js tooltip which works fine on my desktop but when uploaded to my site it does not work either in aol or ie. what have i left out?
You have left out Gecko browsers (Mozilla, Firefox), Safari, Opera, Lynx, KMD, and plenty of other browsers as well as your most important visitors - SE bots.
If you want to provide supplemental information about an element (which in graphical browsers will be rendered as a tooltip), use title attribute:
<a href="http://www.google.com" title="Search the web before asking questions">Google</a>

vivvip
09-30-2005, 03:41 PM
Thanks for that but am a new js user - do you mean put in what you said exactly as it is? If I sent you my script could you have a look?? Pretty Please
Viv

Basscyst
09-30-2005, 05:37 PM
He's basically saying you shouldn't use a tool tip script at all. The functionality is built into most modern day browsers. Any element you wish to have a tool tip can be given the title attribute. The text you put in the title attribute is what will be dispayed in the tooltip.


<a href="http://www.google.com" title="Search the web before asking questions">Google</a>