I realize there's not quite any "standards" in place for creating HTML5 ads.
But is there a best practice for entering a clickTag on Ads that makes use of <noscript>
?
I assume this implementation largely depends on the ad-server it's uploaded to, but how could the clickTag dynamically change if Javascript is disabled?
Could it change on the server-side (ex: replaced upon request via PHP) even though the page has an *.html
extension instead of *.php
?
So far I have this for the HTML of an Ad:
<body>
<!--Won't Work for noscript!-->
<a href="javascript:window.open(window.clickTag+_local1);">
<div id="content">
<noscript>
<img src="backup.jpg" alt="backup image">
</noscript>
</div>
</a>
<script type="text/javascript">
var _local1 = '80205';
var clickTag = "http://www.google.com/";
</script>
</body>