2 jQuery Mobile Boilerplate
8 <title> jQuery Mobile Boilerplate </title>
10 <meta charset="utf-8">
11 <meta name="viewport" content="width=device-width, initial-scale=1">
12 <meta name="apple-mobile-web-app-capable" content="yes">
13 <meta name="apple-mobile-web-app-status-bar-style" content="black">
14 <meta name="HandheldFriendly" content="True">
15 <meta name="MobileOptimized" content="320">
17 <!-- Home screen icon Mathias Bynens mathiasbynens.be/notes/touch-icons -->
18 <!-- For iPhone 4 with high-resolution Retina display: -->
19 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="apple-touch-icon.png">
20 <!-- For first-generation iPad: -->
21 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="apple-touch-icon.png">
22 <!-- For non-Retina iPhone, iPod Touch, and Android 2.1+ devices: -->
23 <link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png">
24 <!-- For nokia devices and desktop browsers : -->
25 <link rel="shortcut icon" href="favicon.ico" />
27 <!-- Mobile IE allows us to activate ClearType technology for smoothing fonts for easy reading -->
28 <meta http-equiv="cleartype" content="on">
30 <!-- jQuery Mobile CSS bits -->
31 <link rel="stylesheet" href="css/jquery.mobile-1.1.0.min.css" />
34 <link rel="stylesheet" href="css/custom.css" />
36 <!-- Javascript includes -->
37 <!-- XXX min version -->
38 <script src="js/jquery-1.7.1.js"></script>
39 <script src="js/mobileinit.js"></script>
40 <script src="js/ios-orientationchange-fix.min.js"></script>
41 <script src="js/jquery.mobile-1.1.0.min.js"></script>
42 <script src="js/app/app.js"></script>
43 <script src="js/app/reader.js"></script>
46 <!-- Add a Bookmark Bubble for iDevices, and adds a cookie if already shown -->
47 <script type="text/javascript" src="js/bookmark_bubble.js"></script>
48 <script type="text/javascript" src="js/example.js"></script>
49 <script src="js/jquery.cookie.js"></script>
50 <!-- Startup Images for iDevices -->
51 <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>
52 <!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 -->
53 <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>
57 <div data-role="page" id="reader">
58 <div data-role="header">
59 <a href="" data-role="back">Back</a>
65 <div data-role="page">
67 <div data-role="header">
68 <h1>jQuery Mobile Boilerplate 1.1</h1>
71 <div data-role="content">
73 <ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
74 <li data-role="list-divider">Snippet Pages</li>
75 <li><a href="snippets/buttons.html">Buttons</a></li>
76 <li><a href="snippets/grids.html">Grids</a></li>
77 <li><a href="snippets/collapsibles.html">Collapsible Boxes</a></li>
78 <li><a href="snippets/collapsible-sets.html">Collapsible Sets</a></li>
79 <li><a href="snippets/forms.html">Form Elements</a></li>
80 <li><a href="snippets/lists.html">List Views</a></li>
85 <div data-role="footer" data-theme="c">
86 <p>© 2012 - jQuery Mobile Boilerplate</p>