Posted By

Some0ne on 01/16/11


Tagged

scroll jquery to top


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Some0ne
virendrakryadav


Scroll To Top


 / Published in: jQuery
 

  1. $('#top').click(function() {
  2. $('html, body').animate({ scrollTop:0 }, 'slow');
  3. return false;
  4. });

Report this snippet  

You need to login to post a comment.