13 (function(c){var a=["DOMMouseScroll","mousewheel"];c.event.special.mousewheel={s
etup:function(){if(this.addEventListener){for(var d=a.length;d;){this.addEventLi
stener(a[--d],b,false)}}else{this.onmousewheel=b}},teardown:function(){if(this.r
emoveEventListener){for(var d=a.length;d;){this.removeEventListener(a[--d],b,fal
se)}}else{this.onmousewheel=null}}};c.fn.extend({mousewheel:function(d){return d
?this.bind("mousewheel",d):this.trigger("mousewheel")},unmousewheel:function(d){
return this.unbind("mousewheel",d)}});function b(f){var d=[].slice.call(argument
s,1),g=0,e=true;f=c.event.fix(f||window.event);f.type="mousewheel";if(f.wheelDel
ta){g=f.wheelDelta/120}if(f.detail){g=-f.detail/3}d.unshift(f,g);return c.event.
handle.apply(this,d)}})(jQuery); | |