In a mobile application, I have a div on a page. Within this div(data-role="page"), I have another div(data-role="content"). Now in this div I have an iframe and my menu page opens in this iframe. The problem is when I open the app in landscape and changed the orientation to portrait, half of my menu cut down vertically. Pls help what I m missing??
Thanks,
Is this on IOS?
If so, this is an apple bug. The fix can be found here;
https://github.com/RatioInteractive/HTML5-Mobile-Boilerplate/blob/master/js/helper.js
also, take a look in the index.html for stuff like this;
<!-- Mobile viewport optimization h5bp.com/ad -->
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width">
<!-- ========== -->
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With