Created
April 26, 2012 19:03
-
-
Save rweeks/2502030 to your computer and use it in GitHub Desktop.
Using the pulse function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function drop_target_enter(e) { | |
var $dt = $(context.target_id) | |
$dt.addClass('dt-entered'); | |
pulse($dt, | |
500, | |
'linear', | |
{opacity: 0.25}, | |
{opacity: 1}, | |
function() { | |
return $dt.hasClass('dt-entered') == false; | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment