mantisinc Posted January 16, 2007 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.
kirikintha Posted January 16, 2007 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
mantisinc Posted January 16, 2007 Author 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>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.