upload tizen1.0 source
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.0.1pre / docs / pages / pages-themes / theme-a.html
1 <!DOCTYPE html> 
2 <html> 
3         <head>
4         <meta charset="utf-8">
5         <meta name="viewport" content="width=device-width, initial-scale=1"> 
6         <title>jQuery Mobile Docs - Theming Pages</title> 
7         <link rel="stylesheet"  href="../../../css/themes/default/" />  
8         <link rel="stylesheet" href="../../_assets/css/jqm-docs.css"/>
9         <script src="../../../js/jquery.js"></script>
10         <script src="../../../experiments/themeswitcher/jquery.mobile.themeswitcher.js"></script>
11         <script src="../../_assets/js/jqm-docs.js"></script>
12         <script src="../../../js/"></script>
13 </head> 
14 <body> 
15
16         <div data-role="page" class="type-interior" data-theme="a">
17
18                 <div data-role="header">
19                 <h1>Theming pages</h1>
20                 <a href="../../../" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
21         </div><!-- /header -->
22
23         <div data-role="content">
24                 <div class="content-primary">
25                         
26                         <ul data-role="controlgroup" data-type="horizontal" class="localnav">
27                                 <li><a href="../pages-themes.html" data-role="button" data-transition="fade">Theme Overview</a></li>                            
28                                 
29                                 <li><a href="theme-a.html" data-role="button" data-transition="fade" class="ui-btn-active">A&nbsp;</a></li>
30                                 <li><a href="theme-b.html" data-role="button" data-transition="fade">B&nbsp;</a></li>
31                                 <li><a href="theme-c.html" data-role="button" data-transition="fade">C&nbsp;</a></li>
32                                 <li><a href="theme-d.html" data-role="button" data-transition="fade">D&nbsp;</a></li>
33                                 <li><a href="theme-e.html" data-role="button" data-transition="fade">E&nbsp;</a></li>
34                         </ul>
35                         
36                         <h2>Theme A Sample Page</h2>
37         
38                         <p>This is an example of <code>data-theme="a"</code> applied to the same element as <code>data-role="page"</code>, showing how the theme is inherited by widgets throughout the page.</p>
39         
40                         <div data-role="fieldcontain">
41                  <label for="name-a">Text Input:</label>
42                  <input type="text" name="name" id="name-a" value=""  />
43                         </div>
44
45                         <div data-role="fieldcontain">
46                                 <label for="switch-a">Flip switch:</label>
47                                 <select name="switch-a" id="switch-a" data-role="slider">
48                                         <option value="off">Off</option>
49                                         <option value="on">On</option>
50                                 </select> 
51                         </div>
52
53                         <div data-role="fieldcontain">
54                                 <label for="slider-a">Slider:</label>
55                                 <input type="range" name="slider" id="slider-a" value="0" min="0" max="100"  />
56                         </div>
57
58                         <div data-role="fieldcontain">
59                         <fieldset data-role="controlgroup" data-type="horizontal">
60                         <legend>Font styling:</legend>
61                         <input type="checkbox" name="checkbox-6a" id="checkbox-6a" class="custom" />
62                                 <label for="checkbox-6a">b</label>
63
64                                 <input type="checkbox" name="checkbox-7a" id="checkbox-7a" class="custom" />
65                                 <label for="checkbox-7a"><em>i</em></label>
66
67                                 <input type="checkbox" name="checkbox-8a" id="checkbox-8a" class="custom" />
68                                 <label for="checkbox-8a">u</label>    
69                     </fieldset>
70                         </div>
71
72                         <div data-role="fieldcontain">
73                             <fieldset data-role="controlgroup">
74                                 <legend>Choose a pet:</legend>
75                                         <input type="radio" name="radio-choice-1" id="radio-choice-1a" value="choice-1" />
76                                         <label for="radio-choice-1a">Cat</label>
77
78                                         <input type="radio" name="radio-choice-1" id="radio-choice-2a" value="choice-2"  />
79                                         <label for="radio-choice-2a">Dog</label>
80
81                                         <input type="radio" name="radio-choice-1" id="radio-choice-3a" value="choice-3"  />
82                                         <label for="radio-choice-3a">Hamster</label>
83
84                                         <input type="radio" name="radio-choice-1" id="radio-choice-4a" value="choice-4"  />
85                                         <label for="radio-choice-4a">Lizard</label>
86                             </fieldset>
87                         </div>
88
89                         <div data-role="fieldcontain">
90                                 <label for="select-choice-a" class="select">Choose shipping method:</label>
91                                 <select name="select-choice-a" id="select-choice-a">
92                                         <option value="standard">Standard: 7 day</option>
93                                         <option value="rush">Rush: 3 days</option>
94                                         <option value="express">Express: next day</option>
95                                         <option value="overnight">Overnight</option>
96                                 </select>
97                         </div>
98                         
99                         <h2>Collapsible Sets</h2>               
100                         <div data-role="collapsible-set">
101                                 <div data-role="collapsible" data-collapsed="false">
102                                         <h3>Section 1</h3>
103                                         <p>I'm the collapsible content in a set so this feels like an accordion. I'm visible by default because I have the <code>data-collapsed="false"</code> attribute; to collapse me, either click my header or expand another header in my set.</p>
104                                 </div>
105                                 <div data-role="collapsible">
106                                         <h3>Section 2</h3>
107                                         <p>I'm the collapsible content in a set so this feels like an accordion. I'm hidden by default because I have the "collapsed" state; you need to expand the header to see me.</p>
108
109                                 </div>
110                                 <div data-role="collapsible">
111                                         <h3>Section 3</h3>
112                                         <p>I'm the collapsible content in a set so this feels like an accordion. I'm hidden by default because I have the "collapsed" state; you need to expand the header to see me.</p>
113
114                                 </div>
115                         </div>
116                         
117                         <h2>Inset List</h2>
118                         <ul data-role="listview" data-inset="true">
119                                 <li><a href="index.html">Inbox <span class="ui-li-count" >12</span></a></li>
120                                 <li><a href="index.html">Outbox <span class="ui-li-count">0</span></a></li>
121                                 <li><a href="index.html">Drafts <span class="ui-li-count">4</span></a></li>
122                                 <li><a href="index.html">Sent <span class="ui-li-count">328</span></a></li>
123                                 <li><a href="index.html">Trash <span class="ui-li-count">62</span></a></li>
124                         </ul>
125                         
126                                 </div><!--/content-primary -->          
127
128                                 <div class="content-secondary">
129                                         <div data-role="collapsible" data-collapsed="true" data-theme="a" data-content-theme="a">
130
131                                                 <h3>More in this section</h3>
132
133                                                 <ul data-role="listview" data-theme="a" data-dividertheme="a">
134                                                         <li data-role="list-divider">Pages &amp; Dialogs</li>
135                                                         <li><a href="../page-anatomy.html">Anatomy of a page</a></li>
136                                                         <li><a href="../page-template.html" data-ajax="false">Single page template</a></li>
137                                                         <li><a href="../multipage-template.html" data-ajax="false">Multi-page template</a></li>
138                                                         <li><a href="../page-titles.html">Page titles</a></li>
139                                                         <li><a href="../page-links.html">Linking pages</a></li>
140                                                         <li><a href="../page-transitions.html" data-ajax="false">Page transitions</a></li>
141                                                         <li><a href="../page-dialogs.html">Dialogs</a></li>
142                                                         <li><a href="../page-cache.html">Prefetching &amp; caching pages</a></li>
143                                                         <li><a href="../page-navmodel.html">Ajax, hashes &amp; history</a></li>
144                                                         <li><a href="../page-dynamic.html">Dynamically Injecting Pages</a></li>
145                                                         <li><a href="../page-scripting.html">Scripting pages</a></li>
146                                                         <li data-theme="b"><a href="../pages-themes.html">Theming pages</a></li>
147                                                 </ul>
148                                         </div>
149                                 </div>  
150
151
152                         </div><!-- /content -->
153
154                         <div data-role="footer" class="footer-docs">
155                                         <p>&copy; 2011 The jQuery Project</p>
156                         </div>
157
158                         </div><!-- /page -->
159
160                         </body>
161                         </html>