This seems to be similar to the jQuery slideDown Snap Back Issue, however slightly different. You can visit this site and browse through the "Pics" section to see the issue. If you click on an album, the content loads inside the box but, when resized, it thinks it's still the same height, so, it stops at that height. Then, it jumps quickly to the correct height afterward. Any ideas?
var jBody = $("#pics .inner");
var jTitle = $("#pics .title");
$("#pics .album-container a").click( function(e) {
var strURL = $(this).attr("href");
var strName = strURL.substr( strURL.indexOf("name=") + 5 );
jBody.slideUp(100);
$.get(
strURL,
function(strData) {
jTitle.text("Pictures - " + strName);
jBody.html(strData).slideDown(1000, "easeOutBounce");
}
);
e.preventDefault();
} );
$("#pics a.back").click( function(e) {
var strURL = $(this).attr("href");
jBody.slideUp(100);
$.get(
strURL,
function(strData) {
jTitle.text("Pictures");
jBody.html(strData).slideDown(1000, "easeOutBounce");
}
);
e.preventDefault();
} );