Skip to content

Instantly share code, notes, and snippets.

@rominirani
Created August 16, 2013 05:19
Show Gist options
  • Save rominirani/6247500 to your computer and use it in GitHub Desktop.
Save rominirani/6247500 to your computer and use it in GitHub Desktop.
Episode #8 : FirefoxOS Tutorial : index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0">
<title>Web Activities</title>
<link rel="stylesheet" href="jquery.mobile-1.3.1.min.css" />
<script src="jquery-1.7.1.min.js"></script>
<script src="jquery.mobile-1.3.1.min.js"></script>
<script src="app.js"></script>
</head>
<body>
<!-- Start of first page: #home -->
<div data-role="page" id="home">
<div data-role="header" data-position="fixed" id="header">
<h3>Web Activities</h3>
</div><!-- /header -->
<div data-role="content">
<a href="#" id="btnCall" data-role="button">Call</a>
<a href="#" id="btnSMS" data-role="button">SMS</a>
<a href="#" id="btnPickImage" data-role="button">Pick Image</a>
<a href="#" id="btnViewWebPage" data-role="button">View Web Page</a>
<a href="#" id="btnOpenSettings" data-role="button">Open Phone Settings</a>
</div><!-- /content -->
</div><!-- /page home -->
<!-- Second page to show image -->
<div data-role="page" id="showImage" data-add-back-btn="true">
<div data-role="header" id="header">
<h1>You Picked this...</h1>
</div>
<div id="pickImage" data-role="content">
</div>
</div> <!-- second page -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment