Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:25

executing javascript


Poster: sidi
Dated: Monday July 14 2003 - 14:39:43 BST

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


Poster: Andy
Dated: Monday July 14 2003 - 22:39:38 BST

There is a demo of this here:

http://www.milonic.co.uk/menu/menusample.php?sampleid=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