How to do floating thingy when mouseover?
For example. There is a link (or text or image). User hovers the mouse over it, and there it appears a small window (not a new window, but floating over the existing window) some predefined text.
Site example: tvguide.com (hover to a movie name on a channel, and you see the movie description etc).
How do you do that?
Simplest way to display text like that is to add a title attribute to the tag.
<span title="display this text">mouse over this</span>
it works with all modern browsers (including IE4+) and can be added to any tag that you want the text attached to (eg. <a> <img> <h2>)
Ok that helped. Thanks!
Now what if I want to add a 1-second delay before displaying the extended tooltip? I tried setTimeOut but it didn't work.
Last edited by ssalim; 11-11-2007 at 11:33 PM.
Something's not right... it did not work.
Slight typo, try this:
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)