Team:ETH Zurich/tpl/read-more

From 2014.igem.org

(Difference between revisions)
Line 19: Line 19:
.css({
.css({
// Set height to prevent instant jumpdown when max height is removed
// Set height to prevent instant jumpdown when max height is removed
 +
"height": $up.height(),
"max-height": 999999
"max-height": 999999
})
})
.animate({
.animate({
-
"height": totalHeight
+
"height": auto;
});
});

Revision as of 12:30, 15 August 2014