30.07.2013 Views

Swipe Gallery. HTML5 Component..2.. swipegallery.css ... - Google

Swipe Gallery. HTML5 Component..2.. swipegallery.css ... - Google

Swipe Gallery. HTML5 Component..2.. swipegallery.css ... - Google

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

.Build &.<br />

.Delivery.<br />

<strong>Swipe</strong> <strong>Gallery</strong> is a configurable <strong>HTML5</strong> template & component that consists of an horizontal strip of images that is<br />

sequenced in such a way that it allows a user to swipe from one image to the next in a smooth, swiping gesture, and<br />

is supported for both touch and mouse.<br />

.NOTE:. This format is initially supported only on WebKit-based browsers (Android, iOS, desktop Chrome and Safari). For initial deployment it is<br />

recommended that you explicitly target mobile Android and iOS.<br />

Developers can easily configure the gallery images, ad dimensions, and animation speed as the gallery is swiped.<br />

Events are raised when an image is swiped into view so custom events can be reported to gauge user interaction.<br />

At present the <strong>Swipe</strong> <strong>Gallery</strong> has no CTA associated with the component. It is recommended that the ad developer<br />

embed the <strong>Swipe</strong> <strong>Gallery</strong> as part of a broader ad/creative that will feature CTAs elsewhere.<br />

Demo files for this creative can be found .here.<br />

A breakdown of the files and how they work can be found below:<br />

.1.. swipe<strong>Gallery</strong>.html (300x250 inpage)<br />

This is the HTML page which contains the <strong>HTML5</strong> creative itself, it creates and calls the elements which the creative<br />

will pull in and also contains the DoubleClick <strong>HTML5</strong> Enabler.<br />

The Enabler contains all of the tracking calls and functionality which allows this creative to work within the<br />

DoubleClick Studio platform and should be added to the head of your HTML as follows:<br />

<br />

<br />

<br />

.NOTE:. Additional information on setting up <strong>HTML5</strong> creatives within DoubleClick Studio and the use of the Enabler can be found .here.<br />

.NOTE:. The HTML page is fully commented, however if you have any questions or comments about the please reach out to our technical team<br />

via .dclk-drmtechnical@google.com.<br />

<strong>.2.</strong>. <strong>swipegallery</strong>.<strong>css</strong>, <strong>swipegallery</strong>.js, modernizr.js<br />

These are required CSS and JS files which form the basis of the swipe gallery component. They contain all of the<br />

script and functionality of the swipe gallery and as such need to be included within the head of the HTML as follows:<br />

<br />

<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!