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="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
34 <link rel="stylesheet" href="css/custom.css" />
36 <!-- Javascript includes -->
37 <script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
38 <script src="js/mobileinit.js"></script>
39 <script src="js/ios-orientationchange-fix.min.js"></script>
40 <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js"></script>
41 <script src="js/application.js"></script>
42 <!-- Add a Bookmark Bubble for iDevices, and adds a cookie if already shown -->
43 <script type="text/javascript" src="js/bookmark_bubble.js"></script>
44 <script type="text/javascript" src="js/example.js"></script>
45 <script src="js/jquery.cookie.js"></script>
46 <!-- Startup Images for iDevices -->
47 <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>
48 <!-- The script prevents links from opening in mobile safari. https://gist.github.com/1042026 -->
49 <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>
52 <div data-role="page">
54 <div data-role="header">
55 <h1>jQuery Mobile Boilerplate 1.1</h1>
58 <div data-role="content">
60 <ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
61 <li data-role="list-divider">Snippet Pages</li>
62 <li><a href="snippets/buttons.html">Buttons</a></li>
63 <li><a href="snippets/grids.html">Grids</a></li>
64 <li><a href="snippets/collapsibles.html">Collapsible Boxes</a></li>
65 <li><a href="snippets/collapsible-sets.html">Collapsible Sets</a></li>
66 <li><a href="snippets/forms.html">Form Elements</a></li>
67 <li><a href="snippets/lists.html">List Views</a></li>
72 <div data-role="footer" data-theme="c">
73 <p>© 2012 - jQuery Mobile Boilerplate</p>