The script already does an incremental preload.
I have no Safari Mac to test on. But I was able to duplicate the problem in Firefox and Opera under Win 7. However, as you stated, there was no problem in Safari Win. I also found no problem in IE 9. Try out this modified version (replace fadeslideshow.js with it). Make sure to make the change on the page and make sure to clear the cache to see if it takes effect:
Attachment 4000
What it does is wait until the first image is loaded before instituting the mouseover pause. It fixed it here for the browsers mentioned and I was able to switch repeatedly back and fourth between script versions to assure it wasn't a fluke in those browsers.
I also removed:
Code:
img9 = new Image();
img9.src = "alves11.jpg";
img10 = new Image();
img10.src = "alves12.jpg";
img11 = new Image();
img11.src = "alves13.jpg";
img12 = new Image();
img12.src = "alves14.jpg";
img13 = new Image();
img13.src = "alves15.jpg";
img14 = new Image();
img14.src = "alves16.jpg";
img15 = new Image();
img15.src = "alves17.jpg";
img16 = new Image();
img16.src = "alves18.jpg";
img17 = new Image();
img17.src = "alves19.jpg";
img18 = new Image();
img18.src = "alves20.jpg";
img19 = new Image();
img19.src = "alves21.jpg";
img20 = new Image();
img20.src = "alves22.jpg";
img21 = new Image();
img21.src = "alves23.jpg";
img22 = new Image();
img22.src = "alves24.jpg";
img23 = new Image();
img23.src = "alves25.jpg";
img24 = new Image();
img24.src = "alves26.jpg";
from the preload routine, this may be important, but appeared to only matter in load time here - faster without it.
I also updated jQuery, this didn't seem to matter though either, but can be important in IE 9. Change:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
to:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
Bookmarks