fino
08-10-2003, 11:28 AM
Hello,
Im just installed phpadsnew on vB 2.3 and it works like a charm !
But i'd like a static banner on the front page, index.php. Any ideas on how to do that ?
The code i use in the header is on the bottom of this message :
Thanks for helping out !
Fino,
Northern Norway.
<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.xx.no/xx/phpadsnew/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:4");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.xx.no/xx/phpadsnew/adclick.php?n=a4433a8d' target='_blank'><img src='http://www.xx.no/x/phpadsnew/adview.php?what=zone:4&n=a4433a8d' border='0' alt=''></a></noscript>
Im just installed phpadsnew on vB 2.3 and it works like a charm !
But i'd like a static banner on the front page, index.php. Any ideas on how to do that ?
The code i use in the header is on the bottom of this message :
Thanks for helping out !
Fino,
Northern Norway.
<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.xx.no/xx/phpadsnew/adjs.php?n=" + phpAds_random);
document.write ("&what=zone:4");
document.write ("&exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.xx.no/xx/phpadsnew/adclick.php?n=a4433a8d' target='_blank'><img src='http://www.xx.no/x/phpadsnew/adview.php?what=zone:4&n=a4433a8d' border='0' alt=''></a></noscript>