This script combines PHP with JavaScript to let you easily display all pictures within a directory without having to input their file names into the script! An external PHP file takes care of all the manual labour, by retrieving the list of images inside the directory and passing it onto the viewer script. Even the select menu used to choose the image to display is automatically generated. And last but not least, in IE and Firefox, a fade effect is applied each time an image is shown. Spiffy!To use this script, your server simply has to support PHP, as this script references an external PHP file to get the images of the containing directory. The page that will show the pictures itself does NOT have to be a PHP page. |
Over 2000+ free Javascript
at JavaScriptBank.com Website