deltaY = 0 absDelta = 0 absDeltaXY = 0 fn; . evento = $ event.fix (orgEvent); event.type = "mousewheel"; if (orgEvent.wheelDelta) {delta = orgEvent.wheelDelta;} if (orgEvent.detail) orgEvent.detail * {o = 1;} if (orgEvent.deltaY) { orgEvent.deltaY deltaY * = -1; delta = deltaY; } if (orgEvent.deltaX) { deltaX = orgEvent.deltaX; * DeltaX delta = -1; } if (orgEvent.wheelDeltaY == indefinido!) {deltaY = orgEvent.wheelDeltaY;} if (orgEvent.wheelDeltaX == indefinido!) {deltaX orgEvent.wheelDeltaX * = -1;} absDelta = Math.abs (delta); if (lowestDelta | | absDelta <lowestDelta!) {lowestDelta = absDelta;} absDeltaXY = Math.max (Math.abs (deltaY), Math.abs (deltaX)); se | {lowestDeltaXY = absDeltaXY;} (lowestDeltaXY | absDeltaXY <lowestDeltaXY!) fn = delta> 0? 'Chao', 'ceil'; delta = Math [fn] (delta / lowestDelta); deltaX = Math [fn] (deltaX / lowestDeltaXY); deltaY = Math [fn] (deltaY / lowestDeltaXY); args.unshift (evento, delta, deltaX, deltaY); . retorno (.. $ event.dispatch | | $ event.handle) aplicam-se (este, args); } })); / * * JScrollPane - v2.0.0beta5 - 2010-09-18 * Http :/ / jscrollpane.kelvinluck.com / * Copyright (c) 2010 Kelvin Sorte * Dupla licenciado sob as licencas MIT e GPL. * / (Funcao (b, a, c) {b.fn.jScrollPane = function (f) {function d (C, L) {var "+ C.css (" paddingRight ") +" "+ C.css (" paddingBottom ") +" um (Ah) {var class = "jspPane" /> '). wrap (b (' <div class = "jspContainer" style = "width: 1px; position: relative;" BC () {if (v) {aj.append (b ('<div class="jspVerticalBar" />'). Append (b ('<div class="jspCap jspCapTop" />'), b ('< div class = "jspTrack" /> '). append (b (' <div class="jspDrag" /> '). append (b (' <div class="jspDragTop" /> '), b (' <div class = "jspDragBottom" /> '))), b (' <div class = "jspCap jspCapBottom" class = "jspArrow jspArrowUp" /> ') bind ("mousedown.jsp" az (0, -1)) bind ("click.jsp", x);.. ac = b (' <a class = "jspArrow jspArrowDown " selectstart.jsp ", function () {return false}); ap.addClass (" jspActive ") var mouseleave.jsp "ar) return false}) ou ()}} function z () {if (aB) {aj.append (b ('<div class="jspHorizontalBar" />'). append (b ('<div class="jspCap jspCapLeft" />'), b ('< div class = "jspTrack" /> '). append (b (' <div class="jspDrag" /> '). append (b (' <div class="jspDragLeft" /> '), b (' <div class = "jspDragRight" /> '))), b (' <div class = "jspCap jspCapRight" class = "jspArrow jspArrowLeft" /> ') bind ("mousedown.jsp" az (-1,0)) bind ("click.jsp", x);.. x = b (' <a class = "jspArrow jspArrowRight. "/> ') bind (" mousedown.jsp "az (1.0)) bind (". click.jsp ", x); selectstart.jsp ", function () {return false}); h.addClass (" jspActive ") varmouseleave.jsp ", ar) return false}); l = aj.innerWidth () e ()} else {}} function E () {if (aB && v) {var class = "jspCorner" ai (aG, AI, AF, s) {var az (FA, s, aG) {funcao return () {G (FA, s, isso, aG); this.blur () return false}} function G (ah, aF, AK, AJ) {aK = b (AK). addClass ("jspActive") var aG = b (this), s = setInterval (function () {varaG = b (this), s = setInterval (function () {var false}})}} function w () {F && F.unbind ("mousedown.jsp"), o && al.unbind ("mousedown.jsp")} function r () {b ("html"). desvincular ("dragstart. mouseup.jsp mousemove.jsp