Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Insert javascript ads in footer?


mantisinc

Recommended Posts

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

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...