How to implement "Reset the Net" Splash Screen into 2.0.7 ?

Started by AllMassive, June 04, 2014, 03:06:35 PM

Previous topic - Next topic

AllMassive

Hi,
i want to integrate that script into my index.template.php:


<script type="text/javascript">
   window._idl = {};
   _idl.variant = "modal";
   _idl.campaign = "reset-the-net";
   (function() {
     var idl = document.createElement('script');
     idl.type = 'text/javascript';
     idl.async = true;
     idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url= ' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'modal');
     document.getElementsByTagName('body')[0].appendChild(idl);
   })();
</script>


I got this script from http://resetthenet.tumblr.com/post/84330794665/the-reset-the-net-splash-screen


kat

From that very page that you linked to...

QuoteAdd this script right before the </body> tag.

Advertisement: