Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

drop-down menus

Status
Not open for further replies.

OKeddy

Technical User
Jul 13, 2001
24
GB
Hi - I recently got a custom drop-down menu from dynamicdrive.com which I spent hours changing to what I wanted(believe me it looked nothing like this).I've always liked the drop-down menus on microsoft.com and I was trying to make them look like that.
I've just about got there but there are two things that are still outstanding,the menus will only disappear on "onclick" the body,whereas on the microsoft site they disappear on "onmouseout",I've tried changing the obvious but to no avail.
The other thing is when you mouseover the menu header the menu appears,right thats fine,but if your mouse slips back on to the header it disappears,on the microsoft site you can slip from header to menu without losing the menu.
I can get it to do this by changing one of the functions

from this:

function hidemenu(whichone){
if (window.themenu)
themenu.style.visibility="hidden"
}

to this:

function hidemenu(whichone){
if (window.themenu)
themenu.style.visibility="visible"

but then onclick the body will not make the menu disappear.

I'm only learning with Javascript and would really appreciate some help on this I've been screwing around with it for weeks but I'm out of ideas - Please help

This is the url for the menu:

 
Thanks for the prompt reply vic ! there are some great menus for use on those sites,just have to start customising again s'pose,would like to have known what the prob was with mine though,thanks again - Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top