I'm trying to use the experimental screen orientation API:
http://www.w3.org/TR/screen-orientation/
I can implement this with this MDN recommandation:
https://developer.mozilla.org/en-US/docs/Web/API/Screen.lockOrientation
Is there already exists a javascript/jquery plugins to do that now, with no css rotation trick or js inverted height and width ?
Thx!
Here's a solution I came up with, albeit a bit hacky.
HTML
CSS
JS