jQuery 一句代码解决固定层div 返回顶部 置顶
<div style="position:fixed;bottom:160px;right:60px;border:solid 1px #ccc;cursor:pointer;font-family:微软雅黑;" onclick="$('body,html').animate({scrollTop:0},800);" > 返<br />回<br />顶<br />部</div>将上段代码加入到html ->>body代码块中即可,提醒下别忘了导入jQuery包