Hey Ace, Here's a real simple script that I use to rotate thumbs on a few of my sites. There is nothing special about it, it just randomly chooses a thumb to display and sends the user to the link that you want to go with that thumb. I'm not sure if this is what you are looking for, but I think its might be along those lines. Just copy and paste this into whatever you use to edit your HTML pages:
<SCRIPT LANGUAGE="Javascript"><!--
function banner() {
};
banner = new banner();
number = 0;
// bannerArray
banner[number++] = "<a href='link url here' target='_blank'><img src='image link here' border='0'></a>"
banner[number++] = "<a href='link url here' target='_blank'><img src='image link here' border='0'></a>"
banner[number++] = "<a href='link url here' target='_blank'><img src='image link here' border='0'></a>"
//
increment = Math.floor(Math.random() * number);
document.write(banner[increment]);
//--></SCRIPT>
You can modify it to add more or less links and thumbs as you need to, and you can use it all over your site without slowing down the loading time for your surfers. Hope this helps you out.
__________________
I'm funner than AIDS, and easier to explain to your parents.
|