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() - | + | var document_Height = $(window).height() -18; |
var document_Width = document.body.clientWidth; | var document_Width = document.body.clientWidth; | ||
Revision as of 14:50, 20 July 2018