Skip to content

Instantly share code, notes, and snippets.

@andylind
Created November 30, 2010 01:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andylind/720966 to your computer and use it in GitHub Desktop.
Save andylind/720966 to your computer and use it in GitHub Desktop.
jquerymobiledemo.html
<!DOCTYPE html>
<html>
<head>
<title>jQuery Mobile Demo</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.css" />
<script src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0a2/jquery.mobile-1.0a2.min.js"></script>
</head>
<body>
<div data-role="page" id="home">
<div data-role="header">
<h1>jQuery Mobile Demo</h1>
</div>
<div data-role="content">
<h2 style="padding: 1em 0;">Stock Quotes</h2>
<ul data-role="listview" data-inset="true">
<li><a href="#about">Quote 1</a> <span class="ui-li-count">+14.982</span></li>
<li><a href="#about">Quote 2</a> <span class="ui-li-count">-0.108</span></li>
<li><a href="#about">Quote 3</a> <span class="ui-li-count">-32.733</span></li>
</ul>
</div>
</div>
<div data-role="page" id="about">
<div data-role="header">
<h1>About</h1>
</div>
<div data-role="content">
<p>About... </p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment