Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

How to start a mouseenter only if the cursor hovers for a certain time?

$
0
0

Hey there,

 

i have a button ("button_solarmover") that triggers a symbol ("solarmover" - a tooltip-like div-container with image and text). But if you move your cursor quick enough, the mouseleave-function doesn't work.

How i can i fix it? Google tells me something about a timeout-function, but i'm not sure how to include it into Edge..

 

That's my code:

 

  Symbol.bindElementAction(compId, symbolName, "${_button_solarmover}", "mouseenter", function(sym, e) {
    
     sym.getSymbol("solarmover").play("show");
     sym.getSymbol("button_solarmover").play("show");

 

  });

Viewing all articles
Browse latest Browse all 9897

Trending Articles