Jump to content

MainmForm.ExtEvents Ext.Container [window] window.beforeorientation example


andyhill

Recommended Posts

Hi, can someone please show me the JavaScript required for the "MainmForm.ExtEvents Ext.Container [window] window.beforeorientation" so I can detect Portrait->Landscape and Landscape->Portrait changes in order to change my layout - Thanks in advance.

Link to comment
Share on other sites

Layouts is exists to solve this issue it changes the view depending on the available space in client browser, please spend sometime to practice 'layouts' and then you will find out that it is the most important thing in Front-End design and will save you time/code.  

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...