Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Building menus


  • From: javascript@xxxxxxxxxx (Dan Costea)
  • Subject: [Javascript] Building menus
  • Date: Thu, 21 Feb 2002 08:37:23 +0100

> 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.