Created
April 10, 2011 18:18
-
-
Save wookiehangover/912583 to your computer and use it in GitHub Desktop.
adding some list elements to a basic jQuery Mobile template
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello World</title> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" /> | |
<script type="text/javascript" src="http://code.jquery.com/jquery-1.5.2.min.js"></script> | |
<script type="text/javascript" src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script> | |
</head> | |
<body> | |
<div data-role="page"> | |
<div data-role="header"> | |
<h1>Hello World</h1> | |
</div><!-- /header --> | |
<div data-role="content"> | |
<ul data-role="listview"> | |
<li>Item 1</li> | |
<li>Item 2</li> | |
<li> | |
Item 3 | |
<ul data-role="listview"> | |
<li><a href="#">A nested list with links</a></li> | |
</ul> | |
</li> | |
</ul> | |
</div><!-- /content --> | |
</div><!-- /page --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment