jQuery mousewheel.js - 测试鼠标滚轮滚动事件
- keleyi_test1 is just using the plain on mousewheel() with a function passed in and does not prevent default. (Also logs the value of pageX and pageY event properties.)
- keleyi_test2 should prevent the default action.
- keleyi_test3 should only log a mouseover and mouseout event. keleyi_testing unmousewheel().
- keleyi_test4 has two handlers.
- keleyi_test5 is like keleyi_test2 but has children. The children should not scroll until mousing over them.
- keleyi_test6 is like keleyi_test5 but should not scroll children or parents.
- keleyi_test7 is like keleyi_test6 but has no children. It will propagate the event and scroll keleyi_test 6 as well.