Difference between revisions of "Team:Jilin China/Home Js"

Line 5: Line 5:
 
   $(document).bind('mousewheel DOMMouseScroll',mouseScroll);//鼠标滚轮事件绑定
 
   $(document).bind('mousewheel DOMMouseScroll',mouseScroll);//鼠标滚轮事件绑定
 
   $(document).keydown(mouseScroll);//键盘上下事件绑定
 
   $(document).keydown(mouseScroll);//键盘上下事件绑定
   var document_Height = $(window).height() - 20;
+
   var document_Height = $(window).height();
 
   var document_Width = document.body.clientWidth;
 
   var document_Width = document.body.clientWidth;
 
 

Revision as of 14:31, 20 July 2018