executing javascript

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

executing javascript

Post by sidi »

i'm working on a site with a 4-level navigation -
(http://www.vita-life.com/relaunch/)

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
martin
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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.

Cheers
Andy
Post Reply