Update application.js, as of jQuery 1.7, the .live() method is deprecated. Use .on...
[ReadingsJQM.git] / index.html
index 4d58ede..a8ec171 100644 (file)
@@ -1,36 +1,70 @@
+<!--
+       jQuery Mobile Boilerplate
+       index.html
+-->
 <!doctype html>
 <html>
 <head>
+       <title> jQuery Mobile Boilerplate </title>
+
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
-       <title> jQuery Mobile Boilerplate </title>
-       <link rel="stylesheet"  href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
+       <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">
 
-       <!-- if you have a custom theme, add it here -->
-       <link rel="stylesheet"  href="themes/jQuery-Mobile-Boilerplate.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">
+
+       <!-- 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 -->
        <link rel="stylesheet" href="css/custom.css" />
 
-       <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
+       <!-- Javascript includes -->
+       <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>
-       <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.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">
-                       <h1>jQuery Mobile Boilerplate 1.0</h1>
+                       <h1>jQuery Mobile Boilerplate 1.1</h1>
                </div>
 
                <div data-role="content">
                
                        <ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
-                               <li data-role="list-divider">Navigation</li>
-                               <li><a href="docs/pages/index.html">Page One</a></li>
-                               <li><a href="docs/toolbars/index.html">Page Two</a></li>
-                               <li><a href="docs/buttons/index.html">Page Three</a></li>
-                               <li><a href="docs/content/index.html">Page Four</a></li>
+                               <li data-role="list-divider">Snippet Pages</li>
+                               <li><a href="snippets/buttons.html">Buttons</a></li>
+                               <li><a href="snippets/grids.html">Grids</a></li>
+                               <li><a href="snippets/collapsibles.html">Collapsible Boxes</a></li>
+                               <li><a href="snippets/collapsible-sets.html">Collapsible Sets</a></li>
+                               <li><a href="snippets/forms.html">Form Elements</a></li>
+                               <li><a href="snippets/lists.html">List Views</a></li>
                        </ul>
 
                </div>