Apr 18, 2013 · Now let's track the device orientation mode. Safari on the iPad does support the window.orientation property, so if necessary, you can use that to determine if the user is in horizontal or vertical mode. As a reminder of this functionality: < button onclick ="detectIPadOrientation();"> What's my Orientation? </ button > < script type ="text ...