Brandon Aaron
309077ffb6
make a setting for normalizing the offset and check that getBoundingClientRect function exists before trying to call it
2014-04-09 13:21:39 -04:00
Brandon Aaron
74bd0d0318
Merge remote-tracking branch 'chriscbrock/add-offset' into 3.1.x
...
* chriscbrock/add-offset:
Normalise offsetX and offsetY on the event
2014-04-09 13:15:17 -04:00
chriscbrock
36f7799fca
Normalise offsetX and offsetY on the event
...
According to the W3C Working Draft, offsetX and offsetY should be
relative to the padding edge of the target element. The only browser
using this convention is IE. Webkit uses the border edge, Opera uses the
content edge, and FireFox does not support the properties.
Normalizing to the border edge is easiest to do.
2014-02-20 09:21:39 +13:00
Brandon Aaron
09bb82c73c
Fix issue with line height calculation when using older versions of jQuery
2014-02-19 11:37:18 -05:00
Brandon Aaron
1b6db9d499
bump version to 3.1.10-pre
2014-02-19 11:37:18 -05:00
Brandon Aaron
d55a79ef9f
Bumping to 3.1.9. Including a fix for the broken bower.json in 3.1.8 and
...
updates to the old delta handling code.
2013-12-16 09:24:00 -05:00
Brandon Aaron
171976e5db
again with my indents
2013-12-14 14:55:00 -05:00
Brandon Aaron
3efd554e60
bump version to 3.1.8
2013-12-14 14:20:37 -05:00
Brandon Aaron
937799db29
fix comment
2013-12-14 14:17:39 -05:00
Brandon Aaron
c7a2d66249
Fix the handling of older 120 based deltas.
2013-12-14 14:08:48 -05:00
Brandon Aaron
cafeaf9f4d
Bump version to 3.1.7 and update my info in a few places.
2013-12-14 13:32:06 -05:00
Brandon Aaron
85b84293c7
again with my indents
2013-12-13 10:35:41 -05:00
Brandon Aaron
5d771abbf2
Attempt to beter handle older browsers that use a wheelDelta based on 120
2013-12-13 09:22:13 -05:00
Brandon Aaron
41b980a423
fix my indents
2013-12-12 17:10:24 -05:00
Brandon Aaron
84f0578a39
can just use $ here
2013-12-12 14:48:58 -05:00
Brandon Aaron
17b6d369e3
offsetParent was not added until 1.2.6 and should probably continue support for 1.2.2 since this is going to be a bug fix release
2013-12-12 14:36:47 -05:00
Brandon Aaron
5aaaf69c5a
Better handle deltaModes 1 (scroll by lines) and 2 (scroll by pages).
2013-12-12 14:31:33 -05:00
XhmikosR
0f09166ff0
Fix lint errors.
2013-11-15 20:39:32 +02:00
Brandon Aaron
8ef2a9a294
Bump version to 3.1.6
2013-11-15 12:59:13 -05:00
Brandon Aaron
5a4efc70c6
bump the version to 3.1.5
2013-11-15 12:46:49 -05:00
Brandon Aaron
8b68e8a234
add $.event.special.mousewheel.version
2013-11-15 12:38:37 -05:00
Brandon Aaron
599dcf3096
Fix how delta is set when deltaY and deltaX has a value
2013-11-14 11:57:19 -05:00
Brandon Aaron
72211a47bd
Update the event object with normalized deltaX and deltaY. Add
...
deltaFactor to the event object.
2013-11-13 13:23:30 -05:00
Brandon Aaron
278e99f849
Attempt to better handle multiple devices that give a different
...
lowestDelta value
2013-11-13 12:32:29 -05:00
Brandon Aaron
0e208577b4
Only look at the deltaY and deltaX for the lowestDelta and floor values
...
that are greater than or equal to 1
2013-11-13 12:23:18 -05:00
Brandon Aaron
36ece575ac
Do not fire the event if there is no change in deltaX and deltaY
2013-11-13 12:21:46 -05:00
Brandon Aaron
b1a07617f2
Clean up the various delta conditionals a bit
2013-11-13 10:51:32 -05:00
Brandon Aaron
ced8a7b3b8
Bumping version to 3.1.5-pre
2013-11-13 08:50:27 -05:00
Brandon Aaron
55eb3d0ccd
bump version to 3.1.4
2013-10-18 18:53:28 -05:00
Brandon Aaron
4eaa06e550
Support for geckos older axis interface
2013-10-18 18:48:37 -05:00
Brandon Aaron
78b2ef36cb
always include the deltaY at a minimum even if the browser does not support scrolling on X and Y axis
2013-10-18 18:48:09 -05:00
Brandon Aaron
5e473a377a
formatting changes
2013-10-18 18:47:43 -05:00
Brandon Aaron
215019ee42
update version to 3.1.4-pre
2013-10-18 18:46:53 -05:00
XhmikosR
26b1117f94
Use single quotes consistently.
2013-09-10 10:37:42 +03:00
Brandon Aaron
61d8ef3605
bump version to 3.1.3
2013-03-12 17:37:02 -05:00
Dmitry Petrov
527edc4d24
add MozMousePixelScroll to the fixed events list
2013-03-13 00:28:08 +04:00
Brandon Aaron
a450a11a02
bump version to 3.1.2
2013-03-12 09:26:05 -05:00
Brandon Aaron
479b8310ff
include support for browserify
2013-03-12 09:21:08 -05:00
XhmikosR
571ec7e0c8
jquery.mousewheel.js: keep the style consistent
2013-02-24 13:55:03 +02:00
Brandon Aaron
746a5346d5
Bumping version to 3.1.1
2013-02-23 18:16:53 -06:00
Brandon Aaron
4b3f1b73b2
fix rounding issue when delta is less than 0
2013-02-23 18:12:57 -06:00
Brandon Aaron
2e2dc57aaa
Use new wheel event if available (fixes Firefox 17+ issues and adds horizontal support to IE9+)
...
Normalize the detal values
Support AMD loaders
Bump version to 3.1.0 and update copyright
2013-02-22 09:48:58 -06:00
Brandon Aaron
a06ef4e1a1
bump version to 3.0.6
2011-11-09 19:54:44 -06:00
Dave Methvin
cbd8fb8924
Use orgEvent for mousewheel values.
2011-11-08 08:47:31 -05:00
Brandon Aaron
9f7185bb58
add compatibility with jQuery 1.7
2011-10-27 08:51:26 -05:00
Brandon Aaron
0f136d8683
Pushing new version to fix IE issue
2010-09-02 11:02:15 -05:00
Brandon Aaron
e51b295e96
Touch up patch for IE issue
2010-09-02 10:59:10 -05:00
Kelvin Luck and Brandon Aaron
5ef1603eba
Fix for brandonaaron/jquery-mousewheel#3 - new mousewheel plugin wasn't working in IE...
2010-09-02 10:55:40 -05:00
Brandon Aaron
1e79a6f543
Updating version to 3.0.3
2010-08-23 08:05:22 -05:00
Brandon Aaron
8b9dcb784c
Adding curly braces
2010-08-23 08:03:15 -05:00