Merge with @h5bp
[ReadingsJQM.git] / index.html
index 51c1953..a8ec171 100644 (file)
@@ -9,27 +9,50 @@
 
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
 
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
+       <meta name="apple-mobile-web-app-capable" content="yes">
+       <meta name="apple-mobile-web-app-status-bar-style" content="black">
+       <meta name="HandheldFriendly" content="True">
+       <meta name="MobileOptimized" content="320">
 
 
-       <!-- jQuery Mobile CSS bits -->
-       <link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
+<!-- Home screen icon  Mathias Bynens mathiasbynens.be/notes/touch-icons -->
+       <!-- For iPhone 4 with high-resolution Retina display: -->
+       <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon.png">
+       <!-- For first-generation iPad: -->
+       <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon.png">
+       <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
+       <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
+       <!-- For nokia devices and desktop browsers : -->
+       <link rel="shortcut icon" href="favicon.ico" />
+       
+       <!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading -->
+       <meta http-equiv="cleartype" content="on">
 
 
-       <!-- if you have a custom theme, add it here -->
-       <link rel="stylesheet"  href="/themes/jQuery-Mobile-Boilerplate.css" />
+       <!-- jQuery Mobile CSS bits -->
+       <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
 
        <!-- Custom css -->
 
        <!-- Custom css -->
-       <link rel="stylesheet" href="/css/custom.css" />
+       <link rel="stylesheet" href="css/custom.css" />
 
        <!-- Javascript includes -->
 
        <!-- Javascript includes -->
-       <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
-       <script src="/js/mobileinit.js"></script>
-       <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
-       <script src="/js/application.js"></script>
+       <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
+       <script src="js/mobileinit.js"></script>
+       <script src="js/ios-orientationchange-fix.min.js"></script>
+       <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
+       <script src="js/application.js"></script>
+       <!-- Add a Bookmark Bubble for iDevices, and adds a cookie if already shown -->
+       <script type="text/javascript" src="js/bookmark_bubble.js"></script>
+       <script type="text/javascript" src="js/example.js"></script>
+       <script src="js/jquery.cookie.js"></script>
+       <!-- Startup Images for iDevices -->
+       <script>(function(){var a;if(navigator.platform==="iPad"){a=window.orientation!==90||window.orientation===-90?"images/startup-tablet-landscape.png":"images/startup-tablet-portrait.png"}else{a=window.devicePixelRatio===2?"images/startup-retina.png":"images/startup.png"}document.write('<link rel="apple-touch-startup-image" href="'+a+'"/>')})()</script>
+       <!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 -->
+       <script>(function(a,b,c){if(c in b&&b[c]){var d,e=a.location,f=/^(a|html)$/i;a.addEventListener("click",function(a){d=a.target;while(!f.test(d.nodeName))d=d.parentNode;"href"in d&&(d.href.indexOf("http")||~d.href.indexOf(e.host))&&(a.preventDefault(),e.href=d.href)},!1)}})(document,window.navigator,"standalone")</script>
 </head> 
 <body> 
        <div data-role="page">
 
                <div data-role="header">
 </head> 
 <body> 
        <div data-role="page">
 
                <div data-role="header">
-                       <h1>jQuery Mobile Boilerplate 1.0</h1>
+                       <h1>jQuery Mobile Boilerplate 1.1</h1>
                </div>
 
                <div data-role="content">
                </div>
 
                <div data-role="content">