Skip to content

Instantly share code, notes, and snippets.

@jueyang
Created April 24, 2012 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jueyang/2480043 to your computer and use it in GitHub Desktop.
Save jueyang/2480043 to your computer and use it in GitHub Desktop.
from quitewrite
mv: function(tp, h, nu, ind, ob) { // Collapse / Expand
var t = this;
if (t.ii[ind]) {
if (!nu) {
t.ii[ind].style.overflow = 'hidden';
}
t.p.$(t.ii[ind]).animate({
top: tp,
height: h
}, 800, null, function() {
if (nu) {
t.ii[ind].style.overflow = 'visible';
}
t.up = nu;
});
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment