Highlighted

HTML 5 Clicktag

Community Beginner ,
Dec 19, 2018

Copy link to clipboard

Copied

New to the HTML5 world here.  Providing HTML5 creative made with Animate CC.

Specs state "JavaScript tags not allowed".

Trying to add a Clicktag and seems like every option uses js <script>.  Am I misunderstanding the specs?

Admittedly I am in over my head and am hoping for clarification / advice.

Thanks!

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from generic Cloud/Setup forum to the specific Program forum... Mod]

Views

173

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

HTML 5 Clicktag

Community Beginner ,
Dec 19, 2018

Copy link to clipboard

Copied

New to the HTML5 world here.  Providing HTML5 creative made with Animate CC.

Specs state "JavaScript tags not allowed".

Trying to add a Clicktag and seems like every option uses js <script>.  Am I misunderstanding the specs?

Admittedly I am in over my head and am hoping for clarification / advice.

Thanks!

[Here is the list of all Adobe forums... https://forums.adobe.com/welcome]

[Moved from generic Cloud/Setup forum to the specific Program forum... Mod]

Views

174

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 19, 2018 0
Adobe Community Professional ,
Dec 20, 2018

Copy link to clipboard

Copied

did you try publishing the file, and then opening up the HTML file and placing the code in the HTML page?

Open the outputted html file in a text editor and paste the following code before the closing </head> tag...

<meta name="ad.size" content="width=300, height=250"> <script type='text/javascript'>var clickTag ='http://www.adroll.com';</script>

Then update the <canvas> tag with the following click event...

onclick="window.open(clickTag ,'_blank');"

You can also add cursor:pointer; to the canvas styles. The resulting <canvas> tag should look something like this...

<canvas id="canvas" width="300" height="250" style="background-color:#FFFFFF; cursor:pointer;" onclick="window.open(clickTag ,'_blank');"></canvas>

hope this helps.

mark

headTrix, Inc. | Adobe Certified Training & Consulting
Consulting | Design | Development | Training

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2018 0
Community Beginner ,
Dec 20, 2018

Copy link to clipboard

Copied

Thanks for the reply!

I have done this - i guess my newbie question is does this type of clicktag count as a JavaScript tag?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2018 0
Adobe Community Professional ,
Dec 20, 2018

Copy link to clipboard

Copied

hmm. I guess it does.... but not sure how else you can do it? If they said no javascript tags, did you ask them to see an example of a previous ad to see how they did it? That might help.

headTrix, Inc. | Adobe Certified Training & Consulting
Consulting | Design | Development | Training

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2018 0
Community Beginner ,
Dec 20, 2018

Copy link to clipboard

Copied

Thanks so much - I have put in a request for an example.

I appreciate the help!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 20, 2018 1