mantisinc Posted January 16, 2007 Share Posted January 16, 2007 Hello all, I have been trying to insert some CPM ads in my footer...however it doesn't seem to like it. When I insert the ad, it just cuts off the footer at the point that I insert it. Is this something to do with the fact it is javascript? Any help much appreciated. Link to comment Share on other sites More sharing options...
kirikintha Posted January 16, 2007 Share Posted January 16, 2007 Hello all,I have been trying to insert some CPM ads in my footer...however it doesn't seem to like it. When I insert the ad, it just cuts off the footer at the point that I insert it. Is this something to do with the fact it is javascript? Any help much appreciated. Can you show me the code? Nothing unreal exists Link to comment Share on other sites More sharing options...
mantisinc Posted January 16, 2007 Author Share Posted January 16, 2007 Sure: <script language='javascript' type="text/javascript"> <!-- if (!document.phpAds_used) document.phpAds_used = ','; phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11); document.write ("<" + "script language='javascript' type='text/javascript' src='"); document.write ("http://www.claxonmedia.com/adserve_rot.php?n=" + phpAds_random); document.write ("&invoke=js"); document.write ("&type=banner"); document.write ("&aff=mantisinc"); document.write ("&exclude=" + document.phpAds_used); if (document.referer) document.write ("&referer=" + escape(document.referer)); document.write ("'><" + "/script>"); //--> </script><noscript><a href='http://claxonmedia.com/adclick.****'><img src='http://claxonmedia.com/******' border='0' alt=''></a></noscript> Link to comment Share on other sites More sharing options...
mantisinc Posted January 17, 2007 Author Share Posted January 17, 2007 No one got any ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.