Remove jquery animate, juste modify div height.
This commit is contained in:
parent
c6c1346518
commit
e724d05165
|
@ -134,18 +134,11 @@
|
||||||
}
|
}
|
||||||
$('div#controlbar').empty();
|
$('div#controlbar').empty();
|
||||||
$('div#controlbar').append(content);
|
$('div#controlbar').append(content);
|
||||||
$('div#content-1').animate({
|
$('div#content-1').height('88%');
|
||||||
height: "88%",
|
$('div#controlbar').fadeIn();
|
||||||
}, 300, "linear", function() {
|
|
||||||
$('div#controlbar').fadeIn();
|
|
||||||
}
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
$('div#controlbar').fadeOut(500, function(){
|
$('div#controlbar').fadeOut(500);
|
||||||
$('div#content-1').animate({
|
$('div#content-1').height('100%');
|
||||||
height: "100%",
|
|
||||||
}, 300, "linear");
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue