Reputation: 30188
I'm wondering if there's some sort of cross-device method of listening for orientation mode changes on mobile devices with jquery / javascript?
Upvotes: 0
Views: 5901
Reputation: 19912
This question explains how to do it using plain javascript for iPhone and Android Detect rotation of Android phone in the browser with JavaScript
Upvotes: 1
Reputation: 32973
JQuerymobile has an orientationchange
event, check out their website for more info and demo's.
Upvotes: 0