On Wed, Nov 6, 2013, at 11:17, Jonas Sicking wrote: > Last I looked the property was useless because window.orientation=0 > meant different things on different devices. I.e. on some devices it > meant "landscape mode" and others it meant "portrait mode".
Indeed, if I remember correctly, window.orientation=0 is the "natural" orientation and then, the value is the angle between the current orientation and the natural one in the range ] -180 ; 180 ]. -- Mounir