Skip to main content
seedubbya123456
Participant
December 19, 2018
Question

HTML 5 Clicktag

  • December 19, 2018
  • 1 reply
  • 1281 views

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]

This topic has been closed for replies.

1 reply

Community Expert
December 20, 2018

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 &amp; Consulting
seedubbya123456
Participant
December 20, 2018

Thanks for the reply!

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

Community Expert
December 20, 2018

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 &amp; Consulting