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