tooltip: how to disable the IE hint on a link with alt tag?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Vince86
Beginner
Beginner
Posts: 5
Joined: Tue Sep 05, 2006 11:43 am

tooltip: how to disable the IE hint on a link with alt tag?

Post by Vince86 »

Hi,
all is in the title:
how to disable the IE hint on a link with an alt tag?
I guess a css property but can't find whichone.
Thanks!
Vince
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

This forum is for the Milonic Menu. To disable the Milonic Menu tooltip you'd just not put a call for the tip. If you are just talking in general you'll need to try a general forum such as an html forum, try going to ask or google and searching html help forums, you should get a lot of options.

Ruth
Vince86
Beginner
Beginner
Posts: 5
Joined: Tue Sep 05, 2006 11:43 am

Post by Vince86 »

Hi,
the problem concerns the Milonic Tooltip implementation (I'm a registred user of the Milonic menu).
The problem is that I have both tooltips (IE and the milonic tooltip) when I use this code:

<a href="mylink.htm" onmouseover="showtip('my tooltip');" onmouseout=hidetip();><img src="myimage.gif" alt="theAltTag"/></a>

I already search on google but I didn't find the answer, the terms "alt" and "hint" are too popular to get valuable results.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

As far as I know the only way to disable both the alt tag text boxes and the title text boxes is to code them as alt="" and not put anything into them. Their purpose is to help the impaired and or those who have images turned off. For those with readers, the reader looks for the alt tag and tells the user what that particular image is [based on what is in the tag] Many website designers use those tags to describe the link, if that is what the image has, others put the "" in if it is only an image.

Users can actually turn them off in their browser settings I believe, at least, I know they can turn them off for the desktop and I think also in the browser [but don't quote me :) ] However, the only way I know for the page author to 'turnoff' the tags is to either eliminate the alt and title or put "" in them.

Hope this helps.

Ruth
Vince86
Beginner
Beginner
Posts: 5
Joined: Tue Sep 05, 2006 11:43 am

Post by Vince86 »

You confirm my sentiment, there is no solution to this problem.
Thanks

Vince
See you in 2010 with IE7 and FireFox10...
Vince86
Beginner
Beginner
Posts: 5
Joined: Tue Sep 05, 2006 11:43 am

Post by Vince86 »

I have the solution! I have to add an empty title tag:

<img src="image.jpg" alt="blabla" title="" />

:D
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Vince,

Thanks so much for posting the solution. We really appreciate it.

Ruth
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Alternatively, you could try this:
<a href="mylink.htm" onmouseover="this.alt='';showtip('my tooltip');" onmouseout=hidetip();><img src="myimage.gif" alt="theAltTag"/></a>
Hope this helps,
Andy
Vince86
Beginner
Beginner
Posts: 5
Joined: Tue Sep 05, 2006 11:43 am

Post by Vince86 »

sorry admin it doesn't work ;) the "this" point to the "a" tag, but this works (for IE, else use document.all["img"]):

<a href="mylink.htm" onmouseover="document.getElementById('img').alt='';showtip('my tooltip');" onmouseout="hidetip();"><img id="img" src="myimage.gif" alt="theAltTag"/></a>
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

oops, sent you the wrong code:

Try this:
<a href="mylink.htm"><img onmouseover="this.alt='';showtip('my tooltip')" onmouseout="hidetip()" src="myimage.gif" alt="theAltTag"/></a>
Post Reply