Javascript slideshow Scriptaculous / Prototype based
A really nice script for a basic cross fading slideshow in javascript was written by Andrew Sellick a wee while ago.
Along with others using the script I was suffereing from a behaviour in browsers where the images in the list items would be cycled through as stills briefly until the slideshow was ready to go (After they had all loaded). To fix this you
I think I have managed a suitable fix for the flash of the images that this script displays sometimes :
like another poster said - add the INLINE style to the LI elements, within your HTML
so LI style= “visiblity: hidden”
THEN in the script itself, add this in the init() for loop: (before the if(i!=0) bit:
lis[i].style.visibility = ‘visible’;
esentially when it inits the LI list items it sets them back to visible. Visibility is the key since until visible, the elements act as a placeholder.
can do the following, which looks much more slick: