chriscloyd Posted August 14, 2009 Share Posted August 14, 2009 I coded a dropdown menu when i hover over a image now the problem im having is for the drop down menu to stay visible while i try to click on one of the links javascript code <script> function hoverover(id) { // close old layer if(menu) ddmenuitem.style.visibility = 'hidden'; // get new layer and show it menu = document.getElementById(id); menu.style.visibility = 'visible'; } // close showed layer function hoveroff() { if(menu) menu.style.visibility = 'hidden'; } </script> Link to comment https://forums.phpfreaks.com/topic/170222-solved-javascript-dropdown-menu/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.