<img src="smiley.gif" alt="Smiley face" />
Get the "Smiley face" text with hovering over the image, but after 5 seconds it fades. There a way to stop the text from fading until you stop hovering over the image with the mouse?

VIPStephan

06-03-2012, 05:09 PM

No, that depends on the browser. And it should not even show a tooltip. Apparently you are using Internet Explorer which gets it wrong. The alt attribute is just for alternative text in case the image can’t be displayed. For tooltips you should use the title attribute.

Ormus

06-03-2012, 05:16 PM

Yes, I am using IE.

I did a test with the following code, but it also fades after 5 seconds.

<p title="Title Test">Title test -stoping the fade</p>

Excavator

06-03-2012, 06:40 PM

Hello Ormus,
Maybe this will help - http://speckyboy.com/2009/09/16/25-useful-jquery-tooltip-plugins-and-tutorials/