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

"mouseout" clean the "click" effect!! What am i missing!?

$
0
0

Greetings,

 

Imagine a button already with opacity ".5":

 

on mouseover

sym.$("button").css("opacity", "1");

 

on mouseout

sym.$("button").css("opacity", ".5");

 

on click

"otherstuff"

sym.$("button").css("opacity", "1");

 

So when i click it the opacity is "1" but when i take the mouse from the button it goes to ".5" again!!

What am i doing wrong!?

 

Thanks in advance!!


Viewing all articles
Browse latest Browse all 9897

Trending Articles