 <p><code>enter code here</code>Demo:<br> <a href="http://jsfiddle.net/subhash9/fRUUd/1511/" rel="nofollow">http://jsfiddle.net/subhash9/fRUUd/1511/</a> Code $(".scrollbar").animate({ scrollTop: 1000 }, 2000);</p>