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

Why does my bar graph run automatically when it's supposed to run only on mouseover?

$
0
0

I'm creating a bar graph for a project and want the bar to rise when the mouse hovers over it. Right now, the bar automatically rises when I run the project. I want it to rise ONLY when I mouseover it.

 

My mouseover code is:

 

$( "W" ).animate({

    left: "+=50",

  }, 5000, function() {

    // Animation complete.

  });

 

and my trigger code is:

 

var white = sym.$("W");

W.stop();


Viewing all articles
Browse latest Browse all 9897

Trending Articles