jQuery.fn.autoscroll=function(selector){ $('html body').animate({scrollTop:$(selector).offset().top},500); }
jQuery.fn.autoscroll=function(selector){ $('html body').animate({scrollTop:$(selector).offset().top},500); }
转载于:https://www.cnblogs.com/taoshengyijiuai/p/5253993.html