jquery 最简单返回顶部的方法
(document).ready(function(){
$('.top').click(function() {
$(document).scrollTo(terget,time);
});
});
<a href="#" href="javascript:void(0);">回到顶部▲</a>
发布时间: 2013-08-01 15:23:18 作者: rapoo
jquery 最简单返回顶部的方法
(document).ready(function(){
$('.top').click(function() {
$(document).scrollTo(terget,time);
});
});
<a href="#" href="javascript:void(0);">回到顶部▲</a>