PHP list images in directory, but also preload them?
Posted: Tue Dec 22, 2009 12:21 pm
I have this template/portfolio I'm working on, and using PHP to list the files (all images) in a directory to be a dynamic gallery. The only problem is that instead of using separate pages, everything is on one page. To accomplish this I'm using jQuery, but when I switch to the div with the gallery in it, it takes 10+ seconds to load. So, how would I go about preloading the images to be listed?
here's the working demo: http://unedible.com/alicewhite/something/
Can anyone help?
here's the working demo: http://unedible.com/alicewhite/something/
Can anyone help?