Jim Ley wrote: > "Anne van Kesteren" <annevk@opera.com> >> wheelDeltaX is a multiple of 120 (positive means rotated to the right, >> negative means rotated to the left). > > Don't like this... the 120 was presumably chosen to provide future fine > grained control from a more accurate device, by constraining it to 120 now, > we lose any future finer grainer control using Int's and instead just have a > strangely chosen arbitrary number. Why not just have "distance and > direction" the wheel has moved, or remove this magic 120 entirely? My understanding is that they're trying to spec this in a way that doesn't make existing mousewheel code written for IE incompatible. Here's a quote from the |onmousewheel| documentation on MSDN: | The onmousewheel event is the only event that exposes the wheelDelta | property. This property indicates the distance that the wheel button | has rotated, expressed in multiples of 120. A positive value indicates | that the wheel button has rotated away from the user. A negative value | indicates that the wheel button has rotated toward the user.Received on Saturday, 24 June 2006 10:15:19 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:55 GMT