jcfaust
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by jcfaust
-
-
Hey There Gents,
I was on Doubleclick "chat" ( a really great resource for Doubleclick support BTW) for quite some time with this issue. Their Templates are a bit dated. This is the solution we came up with and it works like a charm. This Script goes in the <head> tag.
<script language="javascript">//Initialize Enablerif (Enabler.isInitialized()) {init();} else {Enabler.addEventListener(studio.events.StudioEvent.INIT, init);}//Run when Enabler is readyfunction init(){if(Enabler.isPageLoaded()){politeInit();}else{Enabler.addEventListener(studio.events.StudioEvent.PAGE_LOADED, politeInit);}}function politeInit(){Enabler.loadScript('TweenLite.min.js', load1);}// To make sure that all the js animation files will be fully loaded// before using them, use the loadScript method which has a callback functionfunction load1(){Enabler.loadScript('zepto.js', load2);}function load2(){Enabler.loadScript('EasePack.min.js', load3);}function load3(){Enabler.loadScript('CSSPlugin.min.js', load4);}function load4(){Enabler.loadScript('connectionsPolite.js');}</script>
Polite loading GSAP into a DC HTML5 banner
in Banner Animation
Posted
let me know if that makes sense.