1 Reply Latest reply on Nov 6, 2014 2:57 AM by vivekuma

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

    ch1nook

      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");

       

        });