View Full Version : How do I extend the visible time of Alt Text?

05-19-2006, 05:37 PM
I am working in Dreamweaver 8.

I have Alt Text that appears on mouse-over.

The text that appears stays visible for about 5 seconds and then disappears (which I believe is standard).

I need to know how to extend the time that the Alt text is visible.

Can anyone help?


05-19-2006, 06:03 PM
I think you're looking for a customizeable tooltip effect.
the ALT attribute is a piece of text to function as an alternative text for the image for users that either choose not to, or cannot, display images. It's a required attribute for the IMG tag, so you should use it no matter what solution you find to your practical question.

Normally you would use the TITLE attribute, example:

If you like to have more control of the tooltip effect, I suggest you replace it all together with javascript and CSS (used to be called dhtml).

You can either search the web for this kind of code, there's plenty out there.
give many nice results, but I can't recommend one.

The one I can recommend is in The Javascript Anthology.
http://www.dreamweaverclub.com/books/0975240269/The_JavaScript_Anthology__101_Essential_Tips__Tric ks_Hacks.html
It has the best version of this function I've personally seen. Written by two great javascript gurus, themaninblue and brothercake (aussie and brit respectively). If you want to customize the tooltip and be able to learn more javascript as well and don't mind paying for a book, it's probably your best bet

d a v e
05-19-2006, 08:05 PM
this one is quite nice

05-19-2006, 08:18 PM
this one is quite nice
Absolutely, I forgot about Diaz.. another js guru, he works for Yahoo if I remember right.. there's actually a funny picture of him and Cameron (themaninblue) from SXSW.
http://flickr.com/photos/adactio/111844676/ WARNING: Nudity! :wink: