Mobile Web Application Screen Orientation Design -


i'm designing user interface web page viewed on mobile device through device's browser. common design 2 interfaces, 1 portrait , 1 landscape? portrait view looks fine when flip landscape things of course stretched. ideas on best practice here?

it common practice design 2 interfaces different window orientations. check window orientation.

    //listen resize changes     window.addeventlistener("resize", function() {         // screen size (inner/outerwidth, inner/outerheight)      }, false); 

every time changes, apply different css classes portrait , landscape modes elements on web page.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -