Book Image

iAd Production Beginner's Guide

By : Ben Collier
Book Image

iAd Production Beginner's Guide

By: Ben Collier

Overview of this book

Think of an iAd as a micro-app contained within an app on a user's iPhone or iPad that they've downloaded from the App Store. When the user taps your advert's banner it bursts into life filling the entire screen of their device. iAd Beginner's Guide takes you through the start to finish process of building rich, compelling, interactive iAds. You will learn to create beautiful multi-page ads with store finders, social sharing, 3D images and video galleries. You will create ads that utilize the powerful technologies in the iPhone to make your brand shine. Once you have engaged the user you can carry out targeted advertising campaigns with location-based coupons, store finders and social engagement. Using the iTunes Store you will see how it's even possible to add one-click digital content purchasing right within your ad. Learn how iAd producer manages all the HTML5, JavaScript, and CSS3 behind your iAd. You will be creating emotive, gripping and effective mobile advertising campaigns in no time.
Table of Contents (18 chapters)
iAd Production
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Chapter 8. Enhancing Our App with Code

iAd Producer manages the HTML, CSS, and JavaScript that power our iAd, meaning we can make a visually impacting ad without any knowledge of these web technologies. We're able to extend the interactivity of our ads by adapting and adding to the JavaScript source code generated by iAd Producer. We'll go through some of the projects that you've been working on and enhance their interactivity with simple and effective tweaks to the JavaScript.

In this chapter, you'll learn about the following:

  • What JavaScript is

  • iAd Producer's code editor

  • Handling events

  • Accessing objects

  • Sending e-mails and SMS

  • Saving calendar events

While this chapter won't make you a JavaScript master, you'll have an understanding of what's happening and be able to apply these snippets and examples to your own amazing iAd projects.

JavaScript

JavaScript, often abbreviated to JS, is a lightweight language created to enhance the interactivity of the web by Brendan Eich of Netscape in 1995. JavaScript...