I've used an onClick event on the element containing the menu, in my case the body tag. When the even is fired I hide the menu. Joseph Karau Kingland Systems joe.karau at kingland.com 507-536-3629 AIM: jkara3629 -----Original Message----- From: Iztok Polanic [mailto:iztokp at amis.net] Sent: Thursday, February 21, 2002 2:49 AM To: javascript at LaTech.edu Subject: Re: [Javascript] Building menus Hi! I tried it but it doesn't work as I hope it would. If I click outside the menu it is still open. Bye, Iztok ----- Original Message ----- From: "Dan Costea" <costea at ssi-schaefer-noell.com> To: <javascript at LaTech.edu> Sent: Thursday, February 21, 2002 08:37 Subject: Re: [Javascript] Building menus > > > 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. > > _______________________________________________ > Javascript mailing list > Javascript at LaTech.edu > https://lists.LaTech.edu/mailman/listinfo/javascript _______________________________________________ Javascript mailing list Javascript at LaTech.edu https://lists.LaTech.edu/mailman/listinfo/javascript