I'm trying to use use the "rotating banners" fix to make certain images throughout my entire site rotate.
I already implemented Madfish Willie's technique (http://munuviana.mu.nu/archives/033561.php) to make the Tick/Calvin avatars on the top left column of my site randomize.
Now, I want to make certain logos (of the same size setting) on my right side bar randomize.
I thought it would be as simple as inserting the image source urls into another module titled "RotateLogoHead2" and then insert it under RotateLogoHead1 in the HEAD section, and then simply replicate RotateLogoBody and create a RotateLogoBody2, place it, and BAM! I'd have images rotating in two separate places whenever you visit.
But it didn't work.
Any ideas? It seemed so simple...
Posted by Kyer at August 14, 2005 05:53 AM | TrackBackLet's start by looking at the code. There is the new Array() variable that needs to be renamed, the image variables need to be renamed, the other variables need to be renamed also. If you try to use the code as is in two places, the variable names will be overwritten with new information, so the scripts will conflict with each other. Remember to change all instances of the variable and array names in the code.
See if that works.
Of course, if any of the MuNu Jr Rocket Scientists have a more eloquent solution, I'm happy to listen and can help you implement the changes. Just let me know.
Posted by Madfish Willie at August 14, 2005 02:37 PMYou'll also have to rename the ShowImage() fucntion name in both sections of the instructions.
Posted by Madfish Willie at August 14, 2005 02:40 PMDid that last file I sent back work for you?
If so, maybe we can post it here so everyone could have access to use it?
If not, maybe we can get Rob or someone to help us out.
Let me know - Thanks!
Posted by Madfish Willie at August 17, 2005 03:22 PM