Skip to content

Instantly share code, notes, and snippets.

@mlynch
Created December 28, 2011 18:40
Show Gist options
  • Save mlynch/1529106 to your computer and use it in GitHub Desktop.
Save mlynch/1529106 to your computer and use it in GitHub Desktop.
jQM Tutorial - HTML Page
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />
<title>My App</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js">
</script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js">
</script>
</head>
<body>
<div data-role="page" id="page1">
<div data-role="content">
<a data-role="button" data-transition="slideup" data-theme="c" href="#page4">
Click Me!
</a>
</div>
</div>
<div data-role="page" id="page4">
<div data-role="content">
<p>
Gee, thanks for clicking me!
</p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment