Connecting Tech Pros Worldwide Help | Site Map

image

Member
 
Join Date: Jul 2008
Posts: 47
#1: Sep 26 '08
dear sir... i using icon to make my interface look nicer but my problem was how can i get when user point to the image, then some info to show what the image use for??
numberwhun's Avatar
Site Moderator
 
Join Date: May 2007
Location: New Hampshire
Posts: 2,569
#2: Sep 26 '08

re: image


To do something when the mouse is over the image, use the 'onmouseover' option. For the text, you can add an 'alt' to your image tag.

Regards,

Jeff
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#3: Sep 26 '08

re: image


If you want something simple, use the title attribute.

Note that the alt attribute is exactly that - alternative text to display if the image doesn't load/show up. It's not a substitute for the title attribute, though IE (not sure of other browsers) would like to think otherwise.
Reply