|
|
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>My first jQuery Mobile code</title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
- <script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
-
- <body>
- <div data-role="page" id="page1">
- <div data-role="header">
- <h1>First page</h1>
- </div>
- <div data-role="content">
- <p>Test of different header and footer positions.</p>
- <p>
- <a href="ch03_01-1.html" data-role="button">Inline mode (default)</a>
- <a href="ch03_01-2.html" data-role="button">Fixed mode</a>
- <a href="ch03_01-3.html" data-role="button">Full-screen fixed mode</a>
- <!--<a href="ch03_01-4.html" data-role="button">True fixed mode</a>-->
- </p>
- </div>
- <div data-role="footer">
- <h4>mobilexweb.com</h4>
- </div>
- </div>
- </body>
- </html>
|