Another Javascript VBA CMPS Banner Rotation Solution
This modification is in the archives.
I have been fighting with a number of the various Javascript based banner rotations on the board and I seemed to keep having problems. My solution was to stubbornly give up and turn to our friends at Google.com. A quick google search uncovered this little script so the author of this page deserves credit for making this work:
http://www.yugdesign.com/demo/Ad-Simple/index.html With the script above, I simply set out to create a module for my website that would allow me to present a random book with an amazon affiliate link. Step 1: Create the PHP File, save in /forums/modules/books.pdf PHP Code:
<tr><td><table bgcolor="white" width=100%><tr><td><center>
>>Add Module >> PHP File Module Title: Related Books File to Include: books.php Identifier: books Clean File Output: yes Use Module Shell Template: Yes Other notes: I upload photos of the books that I feature to my server as it is more reliable for me and it allows me to resize images to about the size that this script requires. This code could be used in many other ways. You can see this running on my website at: http://www.timeshareforums.com Edits: 29-Mar-2006: Changed Title from Java to Javascript ![]() Download No files for download. |