Created
March 2, 2013 09:12
-
-
Save codesynapse/5070253 to your computer and use it in GitHub Desktop.
Jquery Mobile Single Page Template with Lists Code Snippet
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> | |
<link rel="stylesheet" href="themes/mango.min.css" /> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile.structure-1.3.0.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script> | |
<head> | |
<body> | |
</body> | |
<div data-role="page" data-theme="a"> | |
<div data-role="header" data-theme="a"> | |
<h1>Demo page</h1> | |
</div> | |
<div id="ui-masthead"> | |
</div> | |
<div data-role="content"> | |
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="a"> | |
<li data-role="list-divider">Transition Effects</li> | |
<li><a href="effects.php?id=slide" data-transition="slide">Slide</a></li> | |
<li><a href="effects.php?id=slideup" data-transition="slideup">Slide Up</a></li> | |
<li><a href="effects.php?id=slidedown" data-transition="slidedown">Slide Down</a></li> | |
<li><a href="effects.php?id=pop" data-transition="pop">Pop</a></li> | |
<li><a href="effects.php?id=flip" data-transition="flip">Flip</a></li> | |
<li><a href="effects.php?id=fade" data-transition="fade">Fade</a></li> | |
</ul> | |
<br /><br /> | |
<ul data-role="listview" data-dividertheme="e"> | |
<li data-role="list-divider">Seamless List (margin-less)</li> | |
<li><a href="#" data-transition="slide">Example Item 1</a></li> | |
<li><a href="#" data-transition="slide">Example Item 2</a></li> | |
<li><a href="#" data-transition="slide">Example Item 3</a></li> | |
</ul> | |
</div> | |
<div data-role="footer" data-position="fixed"> | |
<h1>© Copyright Info or Site URL</h1> | |
</div> | |
</div> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment