Skip to content

Instantly share code, notes, and snippets.

@carlrosell
Last active September 28, 2015 06:34
Show Gist options
  • Save carlrosell/c2a01b166561dca94914 to your computer and use it in GitHub Desktop.
Save carlrosell/c2a01b166561dca94914 to your computer and use it in GitHub Desktop.
This is a starter template for Delta HTML5 ads.
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
try{ $$preamble$$ }catch(e){}
if (typeof(window.HTML5) == "undefined") {
var p = "https:" == document.location.protocol ? "https:" : "http:";
document.write("<scr"+"ipt src=\""+p+"//sting.de17a.com/html5.js\"></scr"+"ipt>");
} else { window.HTML5.boot(window, window.Sting); }
</script>
<!-- Do not change anything above this line -->
<!-- Place your style and other resourcer under this line -->
</head>
<body>
<!-- Place your html under this line -->
<script type="text/javascript">
html5.ready(function() {
// JavaScript to run when ad is done loading
});
// Click example
// document.getElementById("click-me").onclick = function() {
// window.open(html5.getClickTag(), "_blank");
// }
// For more info please visit https://docs.deltaprojects.com/?ref=sting/index
</script>
</body>
</html>
{
"width": "728",
"height": "90",
"source": "delta_starter_template.html",
"clicktags": {
"clickTAG": "http://example.org"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment