wheelEvent = "onwheel" in document.createElement("div") ? "wheel" : // Modern browsers support "wheel"

document.onmousewheel !== undefined ? "mousewheel" : // Webkit and IE support at least "mousewheel"

"DOMMouseScroll"; //滚动事件的兼容

$scrollbar.addEventListener(wheelEvent,function(){ $("#tl_listgroup").css("top","0px"); },false)

05-02 10:33