I have a site that has a mobile stylesheet:
<link rel="stylesheet" href="css/mobile.css" media="handheld">
I'm also using jQuery to check for mobile devices and alter functionality accordingly.
But I want to know if there is a way to force landscape-only orientation and disable auto-rotate? Either a CSS or a jQuery solution would be fine.
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…