Copyright © 2015 ZheJiang ShuiMoLi ElectroMechanical Equipment Co.,ltd All Right Reserved 浙ICP备11035489号 Technical Support:SANOO
$(function(){ $(window).scroll(function(){ var _top = $(window).scrollTop(); if(_top>300){ $('.returnTop').fadeIn(600); }else{ $('.returnTop').fadeOut(600); } }); $(".returnTop").click(function(){ $("html,body").animate({scrollTop:0},500); }); });