Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting mouseout of a select
Message
De
08/06/2001 17:35:55
 
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00517067
Message ID:
00517254
Vues:
15
>>>>>>From javascript code, is there a way to detect if the mouse goes out of a select?
>>>>>
>>>>>there is an onmouseout event...
>>>>>
>>>>>something like this?
>>>>>
>>>>>SELECT NAME="x" SIZE="1" onmouseout="window.alert('wayne');"
>>>>
>>>>This only works if you don't have the select open. If it is, it won't detect the mouse out.
>>>
>>>I just messed with it a little more, and it will fire if you mouseover and then mouseout. you don't have to click at all. It may be more than you wanted.
>>
>>What do you mean by mouseover and then mouseout?
>
>I created a very simple html page with the following...
>
>SELECT NAME="x" SIZE="1" onmouseout="window.alert('wayne');">
>OPTION VALUE="1">Calico
>OPTION VALUE="2">Tortie
>OPTION VALUE="3" SELECTED>Siamese
>SELECT>
>
>It pops up the alert when you go over the select with the mouse and move off of it.

Yes, I understand that. What I mean is that if you open the select and go to Tortie and start moving the mouse next to the listbox, you'll see that mouseout doesn't take effect.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform