The <body onload=""> would need to be added to:
Control Panel » Display Options » HTML Includes »
Body Onload as such:
Do you just want the banner to appear at the top of every page? That's what I have (check my site), and I have my code in the
Default Header section like below. This is basically a table that on the left has my site logo, and on the right I have banners rotating on every page of the forums.
<BR />
<TABLE align="center" width="800">
<TR>
<TD align="center" valign="middle" width="325">
<a href="http://www.gangsterbb.net/threads/ubbthreads.php?ubb=cfrm" target="_top">
<IMG width="300" height="50" src="images/title_gangster-bb.gif"
border="0" alt="GangsterBB.NET" align="left"></a>
</TD>
<TD align="center" valign="middle">
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>
</TD></TR></TABLE>
<BR />
If that's all you need, you can just modify the code I use to include however many banners you want to rotate by changing this:
var how_many_ads = 3;You wouldn't need the
Body Onload section using this.
If you want the ads somewhere else, then there'd be a different procedure....