Ah, see that's an image switcher. I need an advertisement switcher. Here's why I can't use this: I'm using Google Adsense. Google gives me a Javascript script to slip into my website for an advertisement to appear. This is the code for one:
Code:
<script type="text/javascript"><!--
google_ad_client = "pub-5686021945884113";
google_alternate_color = "191919";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "404040";
google_color_bg = "191919";
google_color_link = "2370B6";
google_color_url = "2370B6";
google_color_text = "FFFFFF";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
This could be done in javascript but would be much easier server side. Do you have access to PHP?
Yes, I do.
Bookmarks