Detect Orientation Change on iPad (or iPhone)

19. July 2012 Mobile, UI Stuffs 0
A few years back I came across a mobile site (and accompanying tutorial) by Engage Interactive (UK) that did some magical stuff. The navigation of this small sub-site was driven by orientation changes. The four areas of the site were revealed only by rotating the device! Mind:blown (back then, of course). Anyway, here’s the code ...


Something Cool I found Check it out!! LESS extends CSS with dynamic behavior such asvariables, mixins, operations and functions. LESS runs on both the client-side (Chrome, Safari, Firefox) and server-side, with Node.js and Rhino.