ASLO, if you have problem catching the onmouse out (such as when the
onmouseover of another menu overrides it) you can have your widget add an
event listener to the document itself, which can simply hide the menu..
I use this method to hid my menu's, hide my tooltips, AND to capture
missfired dragstart events for my toolbar.


----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 17, 2001 6:26 AM
Subject: Re: [Dynapi-Help] PopUP Help


> use a global value indicating the current menu.
> use the onmouseover / onmouseout events to show / hide the menu.
>
> when you show a menu, update the global value to point to the shown menu.
>
> hiding is done by pointing to the global value indicating the active menu.
this
> way, you don't have to cycle through and hide menus that are already
hidden.
>
> "Chad R. Thomson" wrote:
>
> > I'm having problems getting my menus to behave properly.
> >
> > I have menu header, and on mouseover, their menus/submenus popup nicely.
But
> > i'm looking for the method that will allow me have them hide and show
> > themselves as the mouse travels across the menu.
> >
> > Basically, I don't want to have to click on any of the menus, and I want
> > them to disappear when the mouse moves on to another menu, or the user
isn't
> > pointing anywhere near a menu.
> >
> > Help Please.
> >
> > Chad.
> >
> > ******************************************
> > Chad R. Thomson
> > Senior Programmer/Analyst
> > USI - Bravepoint
> > WebSpeed, Java, B2B & B2C Specialists
> > 888-874-1880 x3027
> > 800-854-7155 FAX
> > http://www.bravepoint.com/
> > A creative Web strategy is not an option - it's a necessity
> > ******************************************
> > Participating in the FreeFrameWork initiative,
http://www.freeframework.org
> > "FreeFrameWork = WebSpeed + Open Source"
> >
> > _______________________________________________
> > Dynapi-Help mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


---
Outgoing mail is certified Virus Free by AVG Free Edition
http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to