PDA

View Full Version : How to get banners into forum form phpAdsNew


zzyzx racing
11-12-2003, 03:00 PM
I am running vB 2.3.2, and phpAdsNew. I am not a programmer or hacker by any means. I also am not computer illiterate. I would just like to know what template(s) I need to place my source code in. I want the banners top and center on all pages. Any help is greatly appreciated. Thanks! Here is the code,

<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.rx8web.com/phpAdsNew/adjs.php?n=" + phpAds_random);
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referer)
document.write ("&amp;referer=" + escape(document.referer));
document.write ("'><" + "/script>");
//-->
</script><noscript><a href='http://www.rx8web.com/phpAdsNew/adclick.php?n=a15b1f6e' target='_blank'><img src='http://www.rx8web.com/phpAdsNew/adview.php?n=a15b1f6e' border='0' alt=''></a></noscript>

How do I edit that to center it? Thanks!

Dean C
11-12-2003, 06:15 PM
Your headinclude at the very bottom should do :) Also to center it you use <center> </center> tags which should surround the things you want centered :)

zzyzx racing
11-12-2003, 11:21 PM
Your headinclude at the very bottom should do :) Also to center it you use <center> </center> tags which should surround the things you want centered :)

Cool, thanks! Now do you know how I can get it to go inside of the graphic instead of above it? Take a look at how it is now: www.rx8web.com and I want the banner to be inside the header graphic (which im going to change the graphic soon). Thanks