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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -