Created
October 20, 2011 18:08
-
-
Save julianshen/1301838 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
<title>Tab test</title> | |
<link rel="stylesheet" | |
href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.6.1.min.js"></script> | |
<script | |
src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script> | |
<body> | |
<div data-role="page" id="home"> | |
<div id="content" data-role="content"> | |
<h1>I'm Tab1</h1> | |
<img src="http://images.apple.com/home/images/hero.jpg" /> | |
</div> | |
<!-- footer --> | |
<div data-role="footer" data-position="fixed"> | |
<!-- /navbar --> | |
<div data-role="navbar"> | |
<ul> | |
<li><a href="#home" data-icon="grid" >Home</a> | |
</li> | |
<li><a href="#test" data-icon="info">Test</a> | |
</li> | |
</ul> | |
</div> | |
<!-- /navbar --> | |
</div> | |
<!-- /footer --> | |
</div> | |
<div data-role="page" id="test"> | |
<div id="content" data-role="content"> | |
<h1>I'm Tab2</h1> | |
</div> | |
<!-- footer --> | |
<div data-role="footer" data-position="fixed"> | |
<!-- /navbar --> | |
<div data-role="navbar"> | |
<ul> | |
<li><a href="#home" data-icon="grid" >Home</a> | |
</li> | |
<li><a href="#test" data-icon="info">Test</a> | |
</li> | |
</ul> | |
</div> | |
<!-- /navbar --> | |
</div> | |
<!-- /footer --> | |
</div> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment