Skip to content

Instantly share code, notes, and snippets.

@linojon
Created October 10, 2009 01:54
Show Gist options
  • Save linojon/206520 to your computer and use it in GitHub Desktop.
Save linojon/206520 to your computer and use it in GitHub Desktop.
$('#flash').animate(
{backgroundColor: '#ffff00'}, 'normal', 'linear',
function(){
$(this).animate(
{backgroundColor: '#00ff00'}, 'normal', 'linear',
function(){
$(this).animate(
{backgroundColor: '#0000ff'}, 'normal', 'linear',
function(){
$(this).animate(
{backgroundColor: '#ffff00'}, 'normal', 'linear'
)
}
)
}
)
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment