×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: A973C FR
Added: Sep 24, 2012 5:32 AM
Views: 19
  1.     function scroll_to(div){
  2.     $('html, body').animate({
  3.     scrollTop: $(div).offset().top
  4.     },1000);
  5.     }