标签:detail class return scroller var top log tail mouse
<div class="select_option_list" onmousewheel="return scroll(event,this)"></div> var scroll = function(event,scroller){ var k = event.wheelDelta? event.wheelDelta:-event.detail*10; scroller.scrollTop = scroller.scrollTop - k; return false; };
标签:detail class return scroller var top log tail mouse
原文地址:http://www.cnblogs.com/love9happy/p/7102623.html