Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting new div before leaving the other one
Message
De
21/03/2016 10:12:57
 
 
À
21/03/2016 05:46:03
Information générale
Forum:
Javascript
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01633406
Message ID:
01633420
Vues:
40
>Think of the old "events call methods". Set minimal flags/propertystates in the events if necessary and call a handler in the mouseover, which will also take care of the flags of latest mouseout

Yes, that's what I have.

I have onmouseover event like this:
function DivOnMouseOver()
{
   lDivOnMouseOver=true
   return true
}
But, when the mouse out is executed on the other div, this is not set yet and the mouse out event thinks the other div is not hovered yet.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform