Alt text doesn't show as tooltip in some browsers
Posted: Mon Mar 23, 2009 9:23 pm
/*************************************
Title:gbook
Version:1.6
Author:
Demo:www.gilsbus.ca/gbook/gbook.php
Download:
Website:www.gilsbus.ca
Short description:
Need a gbook modification to allow tooltips to work when you hover over a menu image
*************************************/
The 'alt' text attribute that shows a text message when an image is NOT available, does not trigger the tooltip feature in compliant browsers like Firefox. The solution is to use the 'title' attribute. I find that my version of IE, Firefox and Opera all display the tooltip text when hovering over an image that has the 'title' attribute set.
I have modified my version of gbook to include this attribute, if anyone wishes to try it out.
Title:gbook
Version:1.6
Author:
Demo:www.gilsbus.ca/gbook/gbook.php
Download:
Website:www.gilsbus.ca
Short description:
Need a gbook modification to allow tooltips to work when you hover over a menu image
*************************************/
The 'alt' text attribute that shows a text message when an image is NOT available, does not trigger the tooltip feature in compliant browsers like Firefox. The solution is to use the 'title' attribute. I find that my version of IE, Firefox and Opera all display the tooltip text when hovering over an image that has the 'title' attribute set.
I have modified my version of gbook to include this attribute, if anyone wishes to try it out.