I have the following code which scrolls to the bottom of an element (DIV) and it works.
But the animation i snot really smooth... I have seen this done much smoothly.
This is my current code:
var $t = $('#messages');
$t.animate({"scrollTop": $('#messages')[0].scrollHeight}, "slow");
Is there any way to make this smoother using CSS or any other means?
any help would be appreciated.