Question:
Adding a tooltip to a webpage?
DoYouWannaChipBru?
2011-05-26 11:54:55 UTC
i have to add a tooltip to a web page i am creating for a homework assignment. doesn't the alternate text for a link do the same thing that a tooltip does?
Three answers:
2011-05-26 15:49:28 UTC
The alt="" attribute has ALWAYS been used WRONGLY as a tooltip in IE and some other browsers. The real tooltip attribute is title="". Use the "title" attribute when you want to have a standard popup tooltip on mouseover.



Never use the "alt" attribute as a tooltip as it is used for accessibility instead.



There are some fancy JavaScript tooltips which are way more fun to use as you can customize them:



http://ashishware.com/Tooltip.shtml

http://willcode4beer.com/tips.jsp?set=bubbleTooltips

http://www.javascriptkit.com/script/script2/tooltip.shtml

http://www.walterzorn.com/tooltip/extensions.htm

http://www.freejavascriptkit.com/free_javascripts/tooltip_hint/dhtml_mouseover_tooltip.html

http://www.dynamicdrive.com/dynamicindex5/dhtmltooltip.htm

http://www.dynamicdrive.com/dynamicindex4/imagetooltip.htm

http://boxover.swazz.org/

http://www.xinod.it/scripts/tooltip_gallery/

http://www.walterzorn.com/tooltip/tooltip_e.htm



Ron
J5
2011-05-26 12:59:17 UTC
Some browsers ignore the alt text, even when you keep your mouse hovered on the image. There are thousands of ways to create tooltips. Some of my favorites would be using jquery, or using a javascript project called "overlib". IE will show the alt text as a tooltip. Firefox does not.
ANSWERS
2011-05-26 12:11:42 UTC
yes they do the same thing.

hope i helped add more details if you need more help

please answer mine

https://answersrip.com/question/index?qid=20110526120302AAAnvW9


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...