auto scroll of a page - Jquery

auto scroll-jquery

Snippet Code


  
Rate this page :
  [ 0 votes]

jQuery.fn.autoscroll = function(selector) { $('html,body').animate( {scrollTop: $(selector).offset().top}, 500 ); } $('.area_name').autoscroll();

Tags


Ask Questions

Ask Question