返回到顶部链接 $(document).ready(function() { $('#top').click(function() { $(document).scrollTo(0,500); } }); 人如代码,规矩灵活;代码如诗,字句精伦。