View Full Version : How to trigger an orientation change in desktop webkit browser?

14 Sep 2011, 5:11 AM
Hello, I've got some code that is triggered on 'orientationchange' and I want to test / debug it in my Chrome browser, but I can't seem to trigger an orientation change (I figured it was just resizing the window but it doesn't seem to be so).

I would like to do it this way because I can get access to the (awesome) Chrome debug tools, whereas I have nothing on my Android phone. Any help?

14 Sep 2011, 7:12 PM
Honest question? Not being a smarta**

How would you get an orientation change on a desktop browser?

Were doing development thinking of using tablets on a swivel axis. Any thoughts ?

14 Sep 2011, 10:34 PM
I use this page:



15 Sep 2011, 3:23 AM
Oh geeze, this turned out to be a simple one.
I forgot to mark 'monitororientation' to true on the panel.

An orientation change is triggered in a browser when you resize the window.