Click to See Complete Forum and Search --> : time out on menu


rustler2001
01-09-2003, 01:38 AM
I have used a script from another forum for a drop down menu using javascript, along with css and a js file, but when i rollover the menu and it drops down it stays there until i click away from it. I am trying to get it to disappear when you roll off, say with a few seconds delay. Does anyone know how to do this?
At the moment the HTML page the menu is in has the Onclick="HideMenu(menuBar)", but even when i take this out the menu then just stays there whether i click elsewhere or not.
Please can anyone help me? I have attached the js file if that would help.
Cheers
Russ

rustler2001
01-09-2003, 02:09 AM
dave thanks for your quick response but that only works in the HTML page. I need to put it in the js file so when you you are on the drop down menu it is fine, but when you roll off it onto somewhere else then it times out. Sorry if i didnt make myself clear before.
Cheers
Russ

rustler2001
01-09-2003, 02:30 AM
Dave, cheers again for the quick response and sorry to be a pain or seem stupid but if you have a look at the attached file CascadingMenu.txt (have changed it from .js to txt for the forum), then that is where i want to add the info.
Basically the menu has 5 areas of navigation, when you rollover these then more options drop down from each one, it works ok when i roll from one area of navigation to the other, but if one of them is open or visible and i want to scroll down the page or something then it stays open. I need the sub navigation to close once i roll off them, or even a second or two once i roll off them.
Cheers
Russell