View Full Version : Help with tooltip script not hiding...

08-29-2007, 03:11 AM

I am trying to use the Script at: http://www.walterzorn.com/tooltip/tooltip_e.htm

I am trying to use the TagToTip thing to turn a div into a tooltip, and its supposed to automatically hide the div being used as a tip-- but it isn't.

Can anyone see why?

Test page:
(click Frederick Winters)

I can't post the script cause its too long...

08-29-2007, 03:33 AM
The script is meant to initialize using an onmouseover event. So, you can either switch to that, or use a display:none; link to provide it while still activating the 'real' tip onclick:

<a href="#" style="display:none;" onmouseover="TagToTip('tag1');"></a>
<a href="#" onclick="TagToTip('tag1');return false;"><b>Frederick Winters (Hypnotist)</b></a>
<br />7:00pm, Ballroom
<div id="tag1"> YO HELP ME </div>

08-29-2007, 03:45 AM
Thank you so much-- I hadn't realised that would break it. :P