Skip to content

Instantly share code, notes, and snippets.

@rafbm
Forked from jtaby/wtf.js
Created August 20, 2011 20:49
Show Gist options
  • Save rafbm/1159640 to your computer and use it in GitHub Desktop.
Save rafbm/1159640 to your computer and use it in GitHub Desktop.
this.$().animate({
scale: 1,
translateX: 0,
translateY: 0,
top: document.body.scrollTop,
left: 0,
width: window.innerWidth,
height: window.innerHeight
}, {
duration: animationDuration * 3,
easing: easing,
complete: function() {
setTimeout(function() {
self._showDetails()
}, 300);
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment