[Javascript] Building menus

Dan Costea costea at ssi-schaefer-noell.com
Thu Feb 21 01:37:23 CST 2002


> Hi!
>
> I have a problem with a menu I'm building. I've built it with <div
> style="visibility: hidden/visible;"> and 'visibility' and 'hidden'
property
> is triggered by Javascript. But I want the menu to disappear if the user
> clicks outside the menu. Anyone?
>
> Bye,
>
> Iztok


Use:  style="display: none/block".
(see:
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
erence/properties/display.asp)


Dan.




More information about the Javascript mailing list