Well, there's two ways to do this for you...there's a somewhat easy way, and a somewhat hard way, depending on how "long-term" you think about things. I've created a folder in your HTDOCS directory named /ssi/ (shorthand for Server Side Include) that contains three files - adcode.txt, top.ad and bottom.ad. There's two different ways you can include the ads in your site: 1) The somewhat easier way: rename all of your pages so that instead of using .html as the extension you use .htm for the extension. Pages that end with .htm are valid file types to use server side includes, which .html files are not. Once you've done that, you can edit the pages (probably easiest to do this while renaming everything anyway...) and make two changes: - towards the top of each page, add in this line of code:
- at the VERY bottom of each page, right before the /body tag, add this line of code: There are two parts to the ad code (as you'll see if you read the "adcode.txt" file) - the banner ad itself (top.ad) and the banner ad "trigger" (bottom.ad). Those two files, working in conjunction, cause one ad to appear on your page (not two as you may be fearing