Hello,
I work on a Web site optimization for the Netfront 3.5 browser running on Window Mobile plateform.
Actually, I try to use the command max-device-width and min-device-width which allows to select a stylesheet according to the device display mode (width = 240 or width = 320).
With other mobile web browsers, I use this command according to the W3C recommendation :
http://www.w3.org/TR/css3-mediaqueries/I noticed that it is not supported by this browser. Are there any alternative ?
I think that it is possible to select a new stylesheet dynamically. But there are other problems to fix :
1) Is there a Javascript event which is triggered when the user change the screen from portrait to landscape or the contrary ?
2) How to get the screen width with Javascript.
I would like also to know if the meta tag name = "viewport" is available on Netfront.
Any answer would be appreciated.
Best regards,
Xavier