scroll2Top是一个简单的可定制的滚动页面的顶部jQuery插件。使用方法 CSS #to_the_top { display: none; position: fixed; cursor: pointer; /* modify below css to your needs */ background: url("images/top.png") no-repeat left top; width: 60px; height: 60px; top: 240px; right: 50px; }HTML
调用$("#to_the_top").scroll2Top();
dd: