Skip to content

Instantly share code, notes, and snippets.

@robrocker7
Created December 26, 2012 15:54
Show Gist options
  • Save robrocker7/4381031 to your computer and use it in GitHub Desktop.
Save robrocker7/4381031 to your computer and use it in GitHub Desktop.
$("#home-security-button-choice").click(function(){
var animated = false;
if (!animated) {
animated = true;
$('.big-info').slideUp('fast',function() {
$('.button-link > .active').fadeIn('slow');
$('.button-link > .active').removeClass('active');
$('#home-security-button-choice').fadeOut('fast');
$('#white-arrow').animate({left: '-925px'}, 500, function() {
$('#home-security-choice').slideDown('fast');
$("#home-security-button-choice").addClass('active')
animated = fa;se;
});
});
return false;
} else {
return false;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment