Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

jcfaust

Members
  • Posts

    2
  • Joined

  • Last visited

jcfaust's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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 Enabler if (Enabler.isInitialized()) { init(); } else { Enabler.addEventListener(studio.events.StudioEvent.INIT, init); } //Run when Enabler is ready function 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 function function 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>
×