Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="apple-itouch-icon" href="/apple-touch-icon.png" />
- <input type="search" results="5"/>
- <meta name="viewport" content="width=320, initial-scale=2.3, user-scalable=no">
- <meta name="apple-mobile-web-app-status-bar-style" content="black" />
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <link rel="apple-touch-icon" href="icons/regular_icon.png" />
- <link rel="apple-touch-icon" href="icons/retina_icon.png" sizes="114x114"/>
- <link rel="apple-touch-icon-precomposed" href="/images/touch-icon.png" />
- <a href="tel:01234567890">Call us</a>
- <a href="sms:01234567890">Text us</a>
- <script type="text/javascript">
- function orient(){
- switch(window.orientation){
- case 0:
- document.getElementById("orient_css").href = "css/iphone_portrait.css";
- break;
- case -90:
- document.getElementById("orient_css").href = "css/iphone_landscape.css";
- break;
- case 90:
- document.getElementById("orient_css").href = "css/iphone_landscape.css";
- break;
- }
- }
- window.onload = orient();
- </script>
- <link rel="stylesheet" type="text/css" href="../iphone4.css"
- media="only screen and (-webkit-min-device-pixel-ratio: 2)" />
- function orient(o){
- switch(o){
- case -90:
- case 90:
- $('#container').removeClass().addClass('landscape');
- break;
- default:
- $('#container').removeClass().addClass('portrait');
- break;
- }
- }
Add Comment
Please, Sign In to add comment