2 jQuery Mobile Boilerplate
8 <meta name="viewport" content="width=device-width, initial-scale=1">
9 <title> jQuery Mobile Boilerplate </title>
10 <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
12 <!-- if you have a custom theme, add it here -->
13 <link rel="stylesheet" href="themes/jQuery-Mobile-Boilerplate.css" />
15 <link rel="stylesheet" href="css/custom.css" />
17 <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
18 <script src="js/application.js"></script>
19 <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
23 <div data-role="page">
25 <div data-role="header">
26 <a href="../index.html" data-icon="home">Home</a>
27 <h1>Collapsible Content</h1>
30 <div data-role="content">
35 <h2>Collapsible Content Blocks</h2>
37 <div data-role="collapsible">
38 <h3>Content header</h3>
39 <p>I'm the content that shows/hides when you click the header just above me.</p>
42 <h2>Default to open</h2>
44 <div data-role="collapsible" data-collapsed="false">
45 <h3>Content header</h3>
46 <p>I'm the content that shows/hides when you click the header just above me.</p>
51 <div data-role="collapsible" data-content-theme="c">
52 <h3>Content header</h3>
53 <p>I'm the content that shows/hides when you click the header just above me.</p>
56 <h2>Themed - content only</h2>
58 <div data-role="collapsible" data-theme="b" data-content-theme="e" >
59 <h3>Content header</h3>
60 <p>I'm the content that shows/hides when you click the header just above me.</p>
63 <h2>Nested Collapsibles</h2>
65 <div data-role="collapsible" data-collapsed="false" data-theme="e" data-content-theme="c">
67 <p>I'm the content inside the main collapsible.</p>
69 <div data-role="collapsible" data-theme="c" data-content-theme="c">
70 <h3>I'm a nested collapsible with a child collapsible</h3>
71 <p>I'm a child collapsible.</p>
72 <div data-role="collapsible" data-theme="d" data-content-theme="d">
73 <h3>Nested inside again.</h3>
74 <p>Three levels deep now.</p>
78 <div data-role="collapsible" data-content-theme="c">
79 <h3>Collapsed list</h3>
80 <ul data-role="listview" data-inset="true" data-theme="d">
81 <li><a href="index.html">red</a></li>
82 <li><a href="index.html">blue</a></li>
83 <li><a href="index.html">yellow</a></li>
85 </div><!-- /section 3 -->
92 <div data-role="footer" data-theme="c">
93 <p>© 2012 - jQuery Mobile Boilerplate</p>