Last active
December 18, 2015 19:28
-
-
Save mbritton/5832757 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 lang="en"> | |
<head> | |
<title>Basic Phonegap Application</title> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile.structure-1.3.1.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script> | |
</head> | |
<body> | |
<div data-role="page" id="home" data-add-back-btn="false"> | |
<div data-role="header" > | |
<h3>Home</h3> | |
</div> | |
<div data-role="content" > | |
<a href="#contactList" data-role="button" data-icon="star" id="contactsButton">Contacts</a> | |
<div id="google_translate_element"></div> | |
<script> | |
function googleTranslateElementInit() { | |
new google.translate.TranslateElement({ | |
pageLanguage: 'en' | |
}, 'google_translate_element'); | |
} | |
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> | |
</div> | |
<div data-role="footer" data-id="foot" data-position="fixed" > | |
<div data-role="navbar"> | |
<ul> | |
<li> | |
<a href="#contactList">Contacts</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<div data-role="page" id="contactList" data-add-back-btn="true"> | |
<div data-role="header" > | |
<h3>Contact List</h3> | |
<a href="#home" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right">Home</a> | |
</div> | |
<div data-role="content"> | |
<ul data-role="listview"> | |
<li> | |
<a href="#contactDetail">Contact 1</a> | |
</li> | |
<li> | |
<a href="#contactDetail">Contact 2</a> | |
</li> | |
</ul> | |
</div> | |
<div data-role="footer" data-id="foot00" data-position="fixed" > | |
<div data-role="navbar"> | |
<ul> | |
<li> | |
<a href="#contactDetail">Add Contact</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
<div data-role="page" id="contactDetail" data-add-back-btn="true"> | |
<div data-role="header" > | |
<h3>Contact Detail</h3> | |
<a href="#home" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right">Home</a> | |
</div> | |
<div data-role="content"> | |
Details | |
</div> | |
<div data-role="footer" data-id="foot00" data-position="fixed" > | |
<div data-role="navbar"> | |
<ul> | |
<li> | |
<a href="#contactList">Contact List</a> | |
</li> | |
<li> | |
<a href="">Delete Contact</a> | |
</li> | |
</ul> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment