Tooltip issue

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bswartz
Beginner
Beginner
Posts: 1
Joined: Sun Mar 12, 2006 3:55 am
Location: SF Bay Area
Contact:

Tooltip issue

Post by bswartz »

Hi, I'm experiencing a weird issue with the tooltip.

My page is created dynamically with asp.net 2.0. I add tool tips to a few input fields and I add them by attaching them to an img using the the onmouseover and onmouseout. The result is like so..

Code: Select all

<img onmouseover="showtip('<b>First Name</b><br>This is a required field')" onmouseout="popdown" src="Images/questionNotePad.gif" style="border-width:0px;" />
I'm experiencing 2 problems.
1. The tips never change their text value. I have to go to a menu, then back to a different tip before I can get the text to change. The only way I can seem to get them to change is if I move to a milonic menu item (changing focus to an input tag doesn't work).
2. The tip won't go away. If I click anywhere, move the mouse 1/2 way across the page, the tip re-appears. (and re-appears and re-appears)..

TIA
Bill
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi

does your code comply with suggestions, how to use the tooltips from a text link? If so, would you please inform on the url and line, where I can find this information on one of the Milonic pages?

Thank you for this "sevice"

Michael
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Hello,

It is best if you could provide a URL to the problem site or at lest some relevant code. That being said...

...check to make sure your tooltips modeule and you menu version are compatible. The toolips module is optimized to work with menu versions above 5.742. The tooltips version should be 2.2.

Also, when using onmouseout="popdown", I find that in order to make the tooltip go away, you must hover the mouse into and back out of the tooltip box. Try it. When the tooltip comes up, unless you hover the mouse into the tooltip and back out of it, it tends to stay around. I'm not sure if it is deliberately designed that way or not, but in my experience I have found that you must hover in and out of the tooltip. If you merely want the tooltip to disappear after you mouse over the anchor, use: onmouseout="hidetip()"

A good use for onmouseout="popdown" is when you have a link buried in a toolip. If I use onmouseout="hidetip()", then the tooltip disappears before the user can navigate into the toolip. When I use onmouseout="popdown", the user can navigate into the tooltip to go to another link.

Try that and let us know how it works.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

Post by Migru »

Hi Viken

call you "tooltips-expert" !!

(I´m not using them at all, but wanted to suggest hidetip....).

Cheers

Michael
Post Reply