Javascript popup menu help
Hi,
Im fairly new to javascript and usually end up copying / pasting code as i dont properly understand. However I have tried making my own popup menu using the simple script:
function showMenu(layer){
layer.style.display = "block";
};
function hideMenu(layer){
layer.style.display = "none";
}
and calling these functions using onMouseOver="showMenu(Layer1)" command. This works fine except in Mozilla based browsers it doesnt hide the menu. Does anyone know why?
The page can be seen at http://www.inspiracode.com/inspv4/menu.htm
Thanks for any help
Im fairly new to javascript and usually end up copying / pasting code as i dont properly understand. However I have tried making my own popup menu using the simple script:
function showMenu(layer){
layer.style.display = "block";
};
function hideMenu(layer){
layer.style.display = "none";
}
and calling these functions using onMouseOver="showMenu(Layer1)" command. This works fine except in Mozilla based browsers it doesnt hide the menu. Does anyone know why?
The page can be seen at http://www.inspiracode.com/inspv4/menu.htm
Thanks for any help
Dan
May 11,