Hide divs as they load?
Hide divs as they load?
I'm using the cycle plugin in order to create a slideshow effect out of a series of div containers. It works perfectly, except that on initial page load, all of the divs are visible and stacked on top of eachother. After the page finishes loading, the divs not in the current "slide" are hidden. Is there a way to make sure that even as the page loads, the divs are hidden?
I've tried adding in a preloader for all the images and tried using the cssBefore property that the plugin page mentions, but neither had any effect...
Here's the url of the plugin I'm using...
http://jquery.malsup.com/cycle/