Advertisement
AnonFile

Add #TheDayWeFightBack banner code

Feb 6th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Our embeddable banner is now ready and available for you to add to your website.
  2.  
  3. The banner changes automatically based on the nationality of the visitors. See the live demos here: US version, international version http://tfrce.github.io/thedaywefightback.js/example/banner.html
  4.  
  5. Adding the banner to your site is simple, just add the code below to your site, just before the closing </body> tag.
  6.  
  7. <!--[if !(lte IE 8)]><!-->
  8. <script type="text/javascript">
  9. (function(){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src=document.location.protocol+"//d1agz031tafz8n.cloudfront.net/thedaywefightback.js/widget.min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
  10. </script>
  11. <!--<![endif]-->
  12.  
  13. You can add the code starting now - the banner will automatically activate at 12am EST on February 11th.
  14.  
  15. For more information about the banner and optional settings, see our Github Repo https://github.com/tfrce/thedaywefightback.js
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement