Somebody beat me to the preload function
But I did notice what seemed to be several identical javascripts in your code. I don't have time to pour over your code, but here is my appraisal of the situation.
You know that script that handles the function that switches images? You only need that once. You can reference that function as many times as you want in the body of your page, but inserting the script in the head multiple times only serves to slow everything down.
Presumably, you put that in your code once for each image. Classic n00b. I did the same thing before I learned a bit about Javascript.
Of course, it's entirely possible that I overlooked something in my haste (finals week!).
Reply