PDA

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



SNICKsaturday
08-29-2007, 03:11 AM
Hi,

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:
http://www.d.umn.edu/~kirbypb/sept.html
(click Frederick Winters)

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

jscheuer1
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>

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