4 Replies Latest reply on Nov 8, 2012 6:45 PM by Malcolm

    script calc for FM GO to open depending on orientation?

    garyavischious

      I must be brain dead, but is there a way to open to a specific layout based on portrait or landscape orientation.

       

      I am using get(window width) and that works on the destop to simulate what happens on an iPhone and iPad in both portrait and landscape views, but it doesn't work on the iPad. Even with calcs that have different results for over and under 800 pixels on the screen width, it always opens in portrait.

       

      What am I missing? Is there a Get function that returns orientation?

       

      Thanks in advance.