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:41

closing sub menu in javascript


Poster: webshaker
Dated: Tuesday February 24 2004 - 13:05:29 GMT

Hi.

I put some javascript in a sum menu
like this:

url='javascript:display();';

where the function display()
just set the style.display property to '';

the problem is that th sub menu does not close imediately.
How can I close the sub menu where I click on it.

thank's
Etienne

Re: closing sub menu in javascript


Poster: webshaker
Dated: Tuesday February 24 2004 - 13:33:38 GMT

webshaker wrote:
where the function display()
just set the style.display property to '';


Ok I'm not sure to have been very clear...
the display() function does not modify the menu.

this function display a hidden form.

I'd like to close the sub menu when the form is displayed.


Poster: Maz
Dated: Tuesday February 24 2004 - 17:05:14 GMT

Its best to post a url so we can see it.

Thanks,
maz