Search found 2 matches

by webshaker
Tue Feb 24, 2004 2:33 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: closing sub menu in javascript
Replies: 2
Views: 2125

Re: closing sub menu in javascript

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.
by webshaker
Tue Feb 24, 2004 2:05 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: closing sub menu in javascript
Replies: 2
Views: 2125

closing sub menu in javascript

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