Forum Moderators: open

Message Too Old, No Replies

Little yellow info box popup thingy

         

jumpenjuhosaphat

1:02 am on Aug 7, 2006 (gmt 0)

10+ Year Member



What is that info box called that pops up when you mouse over an image? How do you go about implementing it?

tedster

2:10 am on Aug 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's called a tool-tip. Give the image a title attribute, and that title is what will show up if the browser in use is obeying W3C standards.

<img src="filename.jpg" title="This text will show in the tool-tip for visual browsers" alt="this text is intended for browsers that don't display images">

kiwibrit

8:39 pm on Aug 7, 2006 (gmt 0)

10+ Year Member



Trouble is IE does it for alt text - a minor niggle.

piatkow

2:15 pm on Aug 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I discovered it by accident in IE using ALT. It seriously confused me when all the tool tips stopped working when I installed Firefox.

Title works on ordinary hyperlinks too. Very handy to either flag a link with additional comments or with a note of when it was last checked.