|
Since you don't have PHP, there's two things I'd recommend.
1) Use Server-Side Includes (SSI) if you have that available. Wherever you want the ads to appear, put <!--#include virtual="current_ad.txt" -->. Current_ad.txt would have all the code you need for the ad. You may need to rename all your .html files to .shtml unless you or your host can make it so .html files are searched for SSI. (You'd need to create a .htaccess file to do that, or your host could do some configuring.)
2) Use Javascript. Create an external script to "write" the code to your page. You wouldn't need to rename your pages, but if your visitors have Javascript turned off then they won't see your ads. If the percent of visitors that have Javascript turned off is small, then it shouldn't be too big of a deal.
Of course, some one may have a better solution for you.
Edited to add: Kyrnt's post wasn't up when I started to reply. I'd give his suggestion to change hosts some consideration. PHP really does come in handy for a lot of things, and you can get it with even "bargain basement" prices.
__________________
"What? Oh {darn}! Now my last words are gonna be 'what'." - Otter Bob (Burt Reynolds), The Cherokee Kid
Last edited by OtterBob; 06-28-2004 at 01:03 PM..
|