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>
30 <div data-role="content">
35 <h2>Simple Button</h2>
37 <a href="index.html" data-role="button">Link button</a>
41 <p><b>Left arrow</b> - data-icon="arrow-l"</p>
42 <a href="index.html" data-role="button" data-icon="arrow-l">My button</a>
43 <p><b>Right arrow</b> - data-icon="arrow-r"</p>
44 <a href="index.html" data-role="button" data-icon="arrow-r">My button</a>
45 <p><b>Up arrow</b> - data-icon="arrow-u"</p>
46 <a href="index.html" data-role="button" data-icon="arrow-u">My button</a>
47 <p><b>Down arrow</b> - data-icon="arrow-d"</p>
48 <a href="index.html" data-role="button" data-icon="arrow-d">My button</a>
49 <p><b>Delete</b> - data-icon="delete"</p>
50 <a href="index.html" data-role="button" data-icon="delete">My button</a>
51 <p><b>Plus</b> - data-icon="plus"</p>
52 <a href="index.html" data-role="button" data-icon="plus">My button</a>
53 <p><b>Minus</b> - data-icon="minus"</p>
54 <a href="index.html" data-role="button" data-icon="minus">My button</a>
55 <p><b>Check</b> - data-icon="check"</p>
56 <a href="index.html" data-role="button" data-icon="check">My button</a>
57 <p><b>Gear</b> - data-icon="gear"</p>
58 <a href="index.html" data-role="button" data-icon="gear">My button</a>
59 <p><b>Refresh</b> - data-icon="refresh"</p>
60 <a href="index.html" data-role="button" data-icon="refresh">My button</a>
61 <p><b>Forward</b> - data-icon="forward"</p>
62 <a href="index.html" data-role="button" data-icon="forward">My button</a>
63 <p><b>Back</b> - data-icon="back"</p>
64 <a href="index.html" data-role="button" data-icon="back">My button</a>
65 <p><b>Grid</b> - data-icon="grid"</p>
66 <a href="index.html" data-role="button" data-icon="grid">My button</a>
67 <p><b>Star</b> - data-icon="star"</p>
68 <a href="index.html" data-role="button" data-icon="star">My button</a>
69 <p><b>Alert</b> - data-icon="alert"</p>
70 <a href="index.html" data-role="button" data-icon="alert">My button</a>
71 <p><b>Info</b> - data-icon="info"</p>
72 <a href="index.html" data-role="button" data-icon="info">My button</a>
73 <p><b>Home</b> - data-icon="home"</p>
74 <a href="index.html" data-role="button" data-icon="home">My button</a>
75 <p><b>Search</b> - data-icon="search"</p>
76 <a href="index.html" data-role="button" data-icon="search">My button</a>
78 <h2>Icon positioning</h2>
81 <a href="index.html" data-role="button" data-icon="delete" data-iconpos="right">Delete</a>
84 <a href="index.html" data-role="button" data-icon="delete" data-iconpos="top">Delete</a>
87 <a href="index.html" data-role="button" data-icon="delete" data-iconpos="bottom">Delete</a>
89 <p>Icon-only button (no text):</p>
90 <a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Delete</a>
92 <h2>Inline buttons</h2>
94 <a href="index.html" data-role="button" data-inline="true">Cancel</a>
95 <a href="index.html" data-role="button" data-inline="true" data-theme="b">Save</a>
97 <h2>Grouped buttons</h2>
99 <div data-role="controlgroup">
100 <a href="index.html" data-role="button">One</a>
101 <a href="index.html" data-role="button">Two</a>
102 <a href="index.html" data-role="button">Three</a>
105 <div data-role="controlgroup" data-type="horizontal">
106 <a href="index.html" data-role="button">One</a>
107 <a href="index.html" data-role="button">Two</a>
108 <a href="index.html" data-role="button">Three</a>
111 <div data-role="controlgroup" data-type="horizontal">
112 <a href="index.html" data-role="button" data-icon="home">One</a>
113 <a href="index.html" data-role="button" data-icon="gear">Two</a>
114 <a href="index.html" data-role="button" data-icon="refresh">Three</a>
117 <div data-role="controlgroup" data-type="horizontal">
118 <a href="index.html" data-role="button" data-icon="minus" data-iconpos="notext">One</a>
119 <a href="index.html" data-role="button" data-icon="plus" data-iconpos="notext">Two</a>
120 <a href="index.html" data-role="button" data-icon="delete" data-iconpos="notext">Three</a>
130 <div data-role="footer" data-theme="c">
131 <p>© 2012 - jQuery Mobile Boilerplate</p>