View Full Version : Tabs Menu (mouseover) script

10-01-2004, 11:03 AM

I'd like to use the Tabs Menu (mouseover) script, which seemed to be just what I was looking for, on my site. However, I've noticed what could be a bug or just the way it was designed. What I mean is that the menu functions fine when you place your mouse over a nav link - the sub menu shows up - great - and goes away after a delay - again great - but if you move your mouse up instead of down the sub menu does not fade away after the delay. Moving the mouse down over and out of the sub menu area causes it to fade away, as was intended.

If at all possible, I'd like to the sub menu to go away whatever direction the mouse pointer is moved. I've tried the menu in Firebird's latest version and IE6 - on XP Home with SP2 - but the same thing happens :confused:

Perhaps you could suggest how to change the script :) It is very good and I do really want to use it.

Many thanks (the script sure has saved me tons of time - I know very little about scripting and do not have the time to learn, I'm afraid :( )


10-02-2004, 10:40 AM
Firstly, please always post a link to the script in question as indicated by the Sticky at the top of the forum. In this case, link is: http://www.dynamicdrive.com/dynamicindex1/tabmouseover.htm

Yes, this was by design. In order for the subcontents to disappear when the user moves the mouse out upwards from the tab link(s), you'll need to add the part in red below inside each tab link:

<a href="http://www.javascriptkit.com" onMouseover="showit(0)" onMouseout="resetit(event)" >JavaScript Kit</a>

Repeat this for each tab link.

10-04-2004, 08:06 AM

First, sorry I did not post the link to the script - will do in future.

Second, many thanks for the response and the solution. I shall modify the script accordingly.

Thanks again,