Skip to content

Instantly share code, notes, and snippets.

@themorgantown
Last active October 3, 2015 17:18
Show Gist options
  • Save themorgantown/2493833 to your computer and use it in GitHub Desktop.
Save themorgantown/2493833 to your computer and use it in GitHub Desktop.
This is part of a tutorial for adding Hype animations to Double Click for Publishers
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1,IE=9" />
<meta name="viewport" content="user-scalable=yes, width=300" />
<script type="text/javascript">
window.DFP_CLICK_PREFIX = "%%CLICK_URL_UNESC%%";
</script>
<title></title>
<style>
body {
background-color: #FFFFFF;
margin: 0px;
}
</style>
<script type="text/javascript" charset="utf-8" src="http://site.com/document.hyperesources/HYPE-458.full.min.js"></script>
</head>
<body>
<div style ="margin:auto;width:300px">
<!-- Replace this reference with an absolute URL to your generated JS file from Tumult Hype. -->
<div id="adtest_hype_container" style="position:relative;overflow:hidden;width:300px;height:250px;">
<script type="text/javascript" charset="utf-8" src="http://site.com/assets/adtest_hype_generated_script.js%%CACHEBUSTER%%"></script>
</div>
</div>
</body>
</html>
@sharksharkco
Copy link

What's the purpose of the closing a tag on line 30?
Also, would you mind describing how this has changed in Hype 3 Pro?

@themorgantown
Copy link
Author

Good catch, @sharksharkco. I'm working on updating our tutorials (no longer maintaining this) and will be updating this thread: http://forums.tumult.com/t/deploying-animations-to-double-click-for-publishers-dfp-or-for-use-in-adwords/1367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment