View Single Post
Old 2003-11-13, 03:54 AM   #8
Snowone
Aw, Dad, you've done a lot of great things, but you're a very old man, and old people are useless
 
Join Date: Aug 2003
Posts: 20
Basically get rid of the stuff between the script tags and use the a href in the no script tag.

Page 80 of the user guide. Remote invocation via javascript will slow down your page load.

It looks like you are using Remote invocation via javascript which you really only need if you are going to display rich media ads (flash).

Delete this stuff for each banner:

<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.greenguysboard.com/phpadsnew/adjs.php?n=" + phpAds_random);
document.write ("&amp;clientid=4");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script>

Use this from the <no script> tag
<a href='http://www.greenguysboard.com/phpadsnew/adclick.php?n=abc51f92' target='_blank'><img src='http://www.greenguysboard.com/phpadsnew/adview.php?clientid=4&amp;n=abc51f92' border='0' alt=''></a>

Which is what you are doing on the news page.
Snowone is offline   Reply With Quote