Quantcast
Channel: Advertising - Tumult Forums
Viewing all articles
Browse latest Browse all 198

HTML5 Ad Banners for AdRoll

$
0
0

@AjEGFS wrote:

HTML5 Ads for AdRoll.com

I am creating HTML5 web banner ads for use with an ad service called AdRoll.com. They have a set of 'HTML5 Creative Guidelines'. I am unclear how to satisfy one of the main requirements using Hype 3.5.2 on Mac OSX 10.10.5.

ClickTag Variable

From the Guidelines...


Declare the clickTag variable
Example...
<script type='text/javascript'>var clickTag ='http://www.adroll.com';</script>


This clickTag variable must be passed as a parameter to any window.open event inside the ad, usually assigned to the JavaScript onclick event of a div element...
<div id="clickArea" style="width: 300px; height: 250px" onclick="window.open(clickTag ,'_blank');">

How in Hype?

I exported my Hype document. I opened the exported HTML file and added the 'clickTag' variable script into the 'head' section. But when I went to add the ID to the Div of my button, I found that there was no reference to that in the HTML file? As I'm sure everyone here knows, the exported HTML file is very light. It only references a Javascript file in the exported 'HypeResources' folder.

So how do I add the Div ID and parameters?

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 198

Trending Articles