Posted By

javifr on 10/29/10


Tagged

scroll jquery


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Tyster


Scroll top


 / Published in: JavaScript
 

  1. //donde #top es el anchor al que se va
  2.  
  3. $('html, body').animate({scrollTop: $("#top").offset().top}, 400);

Report this snippet  

You need to login to post a comment.