Chrome and .load() doesn't push the content down.
I have a quick reply system going on, and it seems to work on one page but on another page it doesn't even try to push the content down. It completely ignores the content and treats it as if it's being position:absolute'd.
-
$.each(link, function() {
var curtext = $(this).text();
$(this).text(curtext+" »");
var clicked = false;
var to = $(this).attr("alt");
var div = $(".nested_replies[rel='"+to+"']");
var input = $("input[type=text][rel='"+to+"']");
var who = input.attr("rel");
var ghost = $(".replies[alt='"+to+"']");
var level = $(".replies").attr("rel");
ghost.hide(); div.hide();
$(this).click(function() {
var others = $(".nested_reply[alt!='"+to+"']");
$(".loadplz[rel='"+to+"']").load("/ajax", {
"replyid":[to]
});
$.each(others, function() { $(this).text($(this).text().replace(/«/, "»")); });
if(clicked == false) {
$(this).text(curtext+" «");
clicked = true;
$(".nested_replies").fadeOut(); //~ don't know if this is smrt or not yet.
div.show();
input.show();
} else {
$(this).text(curtext+" »");
clicked = false;
div.hide();
ghost.remove();
}
});
That's some of the code going on. Is Chrome a special case w/ these type of things?
Actually been playing with it, even show()'ing a simple div inside the div won't push the content around no matter if there is CSS applied or not. Why..?