1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Answers
    1
    Vote Rating
    0
    mckernad is on a distinguished road

      0  

    Default Answered: How to trigger an orientation change in desktop webkit browser?

    Answered: How to trigger an orientation change in desktop webkit browser?


    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?

  2. 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.

  3. #2
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Answers
    11
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default


    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 ?

  4. #3
    Touch Premium Member
    Join Date
    Jul 2011
    Posts
    18
    Vote Rating
    0
    pmarsilio is on a distinguished road

      0  

    Default


    I use this page:

    http://ipadpeek.com/


  5. #4
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Answers
    1
    Vote Rating
    0
    mckernad is on a distinguished road

      0  

    Default


    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.