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