2.0_beta sync to rsa
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / docs / toolbars / bars-fullscreen.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 Framework - Fullscreen Fixed toolbars</title> 
7         <link rel="stylesheet"  href="../../css/themes/default/jquery.mobile.css" />  
8         <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
9
10         <script src="../../js/jquery.js"></script>
11         <script src="../../docs/_assets/js/jqm-docs.js"></script>
12         <script src="../../js/"></script>
13
14 </head> 
15 <body> 
16
17 <div data-role="page" class="type-interior">
18         
19         <div data-role="header" data-position="fixed" data-theme="f" data-fullscreen="true">
20                 <h1>Fullscreen fixed header</h1>
21                 <a href="../../" data-icon="home" data-iconpos="notext" data-direction="reverse">Home</a>
22                 <a href="../nav.html" data-icon="search" data-iconpos="notext" data-rel="dialog" data-transition="fade">Search</a>
23         </div>
24         
25         <div data-role="content">
26                         <div class="content-primary">
27                                 <img src="images/photo-run.jpeg"  alt="Photo Run">
28         
29                 <p class="ui-body">This page demonstrates the "fullscreen" toolbar mode. This toolbar treatment is used in special cases where you want the content to fill the whole screen, and you want the header and footer toolbars to appear and disappear when the page is clicked responsively &mdash; a common scenario for photo, image or video viewers.</p>
30                 
31                 <p class="ui-body">To enable this toolbar feature type, you apply the <code>data-fullscreen="true"</code> attribute and the <code>data-position="fixed"</code> attribute to both the header and footer <code>div</code> elements, or whichever you want to be full-screen. </p>
32                 
33                 <p class="ui-body">Keep in mind that the toolbars in this mode will sit <strong>over</strong> page content, so not all content will be accessible with the toolbars open, just as shown in this demo.</p>
34                                
35
36                                 </div><!--/content-primary -->          
37
38                                 <div class="content-secondary">
39
40                                         <div data-role="collapsible" data-collapsed="true" data-theme="b" data-content-theme="d">
41
42                                                         <h3>More in this section</h3>
43
44                                                         <ul data-role="listview" data-theme="c" data-dividertheme="d">
45
46                                                                 <li data-role="list-divider">Toolbars</li>
47                                                                 <li><a href="docs-bars.html">Toolbar basics</a></li>
48                                                                 <li><a href="docs-headers.html">Header bars</a></li>
49                                                                 <li><a href="docs-footers.html">Footer bars</a></li>
50                                                                 <li><a href="docs-navbar.html">Navbars</a></li>
51                                                                 <li data-theme="a"><a href="bars-fixed.html">Fixed positioning</a></li>
52                                                                 <li><a href="footer-persist-a.html">Persistent toolbars</a></li>
53                                                                 <li><a href="bars-themes.html">Theming toolbars</a></li>
54
55                                                         </ul>
56                                         </div>
57                                 </div>          
58
59                         </div><!-- /content -->
60
61                         <div data-role="footer" class="footer-docs" data-theme="a" data-position="fixed" data-fullscreen="true">
62                                         <h1>Fullscreen Fixed Footer</h1>
63                         </div>
64
65                         </div><!-- /page -->
66
67                         </body>
68                         </html>