Skip to Main Content
PhoneGap Build
book

PhoneGap Build

by Bintu Harwani
November 2013
Intermediate to advanced content levelIntermediate to advanced
303 pages
8h 45m
English
Auerbach Publications
Content preview from PhoneGap Build
Creating a User Interface ◾  27
Note: Traditionally, when the Back button on the device is selected, it exits from the application
and opens the previous screen, which may be the Home screen or application lists screen—from
where the application is invoked.
Listing 2.5 Code Written in the index.html File
<!DOCTYPE HTML>
<html>
<head>
<title>PhoneGap Application</title>
<script type = "text/javascript" charset = "utf-8" src = "cordova-2.3.0.js">
</script>
</head>
<body>
<a href = "about.html">About</a>
<a href = "contact.html">Contact</a><br/>
<b> Welcome to our PhoneGap App </b>
</body>
</html>
In the code above, we can see that two hyperlinks, About and Contact, are defined, which
when clicked will navigate us to the about.html and contact.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning App Development with Parse and Phonegap

Beginning App Development with Parse and Phonegap

Wilkins Fernandez, Stephan Alber
Ajax For Dummies®

Ajax For Dummies®

PhD Steve Holzner

Publisher Resources

ISBN: 9781466589742