I think I found the solution :)
Thank you all
Solution:
activateMenu = function(nav) {
/* currentStyle restricts the Javascript to IE only */
if (document.all && document.getElementById(nav).currentStyle) {
var navroot = document.getElementById(nav);
/* Get all the list items within the ...
Search found 2 matches
- Tue 16. Aug 2005, 15:45
- Forum: hacks & enhancements
- Topic: Javascript dropdown menu
- Replies: 1
- Views: 2072
- Tue 16. Aug 2005, 15:32
- Forum: hacks & enhancements
- Topic: Javascript dropdown menu
- Replies: 1
- Views: 2072
Javascript dropdown menu
Hi,
I am new to this forum; I am using the (CSS, Javascript) Menu
that you have in this forum: http://www.phpwcms.de/forum/viewtopic.php?p=27079
I need to use onclick event instead of (onmouseover & onmouseout)
so I was able to use onclick to show and ondblclick to hide the menu
but I want only ...
I am new to this forum; I am using the (CSS, Javascript) Menu
that you have in this forum: http://www.phpwcms.de/forum/viewtopic.php?p=27079
I need to use onclick event instead of (onmouseover & onmouseout)
so I was able to use onclick to show and ondblclick to hide the menu
but I want only ...