How about using CSS transformations to rotate the webpage 90 degrees,
whenever the user is viewing the screen in the "wrong" way? That
should give them a hint that they need to rotate the phone. Something
like:
window.onorientationchange = function() {
if(window.orientation == 90 || window.orientation == -90) {
document.body.setAttribute("style", "-moz-transform: rotate
(270deg); -moz-transform-origin: 50%");
} else {
document.body.setAttribute("style", "-moz-transform: none");
}
};
Note this is only theoretical as I don't have an iPhone on me.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---