Click to See Complete Forum and Search --> : pop up test box on mouse over event


dotolee
07-25-2003, 11:24 AM
I'm wondering how to create a popup box that contains text when a user moves their mouse over an image on my web page.
A good example of this is the toolbar in IE. When you put your mouse over the home button, a little box appears that says "home".
thanks.!

pyro
07-25-2003, 11:40 AM
You use the title attribute:

<img src="yourimg.gif" alt="Your alternate text" title="Text you want to popup">

dotolee
07-25-2003, 11:43 AM
I'll give that a try. is there a limit on the number of characters I can use?

pyro
07-25-2003, 11:54 AM
In Mozilla, it will allow 80 characters. IE will allow a lot more...