Skip to content

Instantly share code, notes, and snippets.

@Twipped
Created February 24, 2012 19:17
Show Gist options
  • Save Twipped/1903083 to your computer and use it in GitHub Desktop.
Save Twipped/1903083 to your computer and use it in GitHub Desktop.
Accordion.animating = true;
$(previousBackdrop).animate({left:w}, 0.8, "easeOutQuad", function() {this.hide();Accordiun.animating = false;});
$(nextBackdrop).animate({left:0}, 0.8, "easeOutQuad");
$(previousTabHighlight).fadeOut(0.8, "easeOutQuad");
$(nextTabHighlight).fadeIn(0.8, "easeOutQuad", function() {this.className = 'selected';});
$(previousTab).switchClass('selected','normal', 0.8);
$(nextTab).switchClass('normal','selected', 0.8);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment