O'Reilly logo

Sams Teach Yourself Windows® 8 Apps with JavaScript and HTML5 in 24 Hours by Chad Carter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hour 13. Working with Fullscreen, Filled, Snapped, and Portrait Views

What You’ll Learn This Hour:

• Using the simulator to test the portrait state

• Detecting the view state and reacting using JavaScript

• Using CSS media queries to handle different view state

• Making apps look great in every view state

A Windows Store app needs to both look great and function great in many different layouts. Our apps need to be able to handle being snapped to a 320-pixel-wide space (the same width as most mobile devices) and also handle fullscreen and filled modes. Apps are not required to work in the portrait view state to pass certification, but effort should be made to make them work so the user isn’t forced to change preferred orientation.

Windows 8 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required