executing javascript

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Posts: 1
Joined: Mon Jul 14, 2003 2:25 pm

executing javascript

Post by sidi » Mon Jul 14, 2003 2:39 pm

i'm working on a site with a 4-level navigation -

level 1 & level 2 (the first submenu) should both be visible at all times
but the second level should only show one menu.

if i use "alwaysvisible" for the submenus they remain visible even if another submenu opens.

so i need to execute a javascript when a menu-item is rolled over or out
and manually show and hide the submenus.
(or is there a more simple way ?)

is there a possibility to execute a javascript on mouseOver and mouseOut of a menuitem ?

thanx for help

User avatar
Posts: 3307
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer

Post by Andy » Mon Jul 14, 2003 10:39 pm

There is a demo of this here:

http://www.milonic.co.uk/menu/menusampl ... ampleid=20

It's a bit buggy because of the way the sound file is loaded, we never did get it fixed, but in principle it does work well but will depend on your chice of javascript function.


Post Reply