[Javascript] Suppressing mouse-over events

Costea Dan costea.dan at ssi-schaefer.ro
Wed Mar 24 07:51:40 CST 2004


as far as I know, the popup object created with window.createPopup can't
take the focus.

----- Original Message ----- 
From: "Matt Barton" <javascript at mattbarton.org>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Wednesday, March 24, 2004 3:39 PM
Subject: Re: [Javascript] Suppressing mouse-over events


> > Have onfocus and onblur-handlers on the window that contains your menu,
> > setting a variable (bFocus = true/false) when the window focus is
> > changed. On the onmouseoverevent all you have to do is check the bFocus
> > variable. If it's false, then your window is out of focus, so don't
> > display the menu.
> >
> > Makes any sense? :)
>
> Perfect sense yes, thank you.  If that does the trick (and I'm sure it
will)
> I'll owe you a pint...
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list