Introduction

You can further simplify your iAd JS development by representing iAd JS classes declaratively with a CSS class applied to an HTML element (usually a div element). You can set the JavaScript properties of these classes with a combination of CSS classes, CSS properties, and HTML attributes.

Organization of This Document

iAd JS Declarative Classes describes the CSS classes that correspond to iAd JS JavaScript classes.

View Processors describes powerful HTML attributes you can add to any HTML element in your ad to dramatically simplify interactions between your HTML content and your ad’s view controllers.

View Controller States lists CSS classes that you can use to respond to state changes in your ad’s view controllers.

See Also

iAd JS Programming Guide contains a more thorough discussion and several examples of using iAd JS declarative classes.

iAd JS Library Reference describes the iAd JS JavaScript classes that iAd JS declarative classes correspond to.