'Trigger an animation on element click?
I am using the above code http://jsfiddle.net/raybellis/tF833/ in order to be able to trigger click event without clicking but with a delay on hover. In order to make it more clear to user experience I would like to trigger a simple animation (it doesn't really matter what the effect will be) like a fade out in the selected element or a target pointer that focuses on the specific element or something like that.
Solution 1:[1]
Would something like this work from jQuery UI?
$('#button1').click(function() {
$(this).effect("highlight", {}, 3000);
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Nicky Waites |
