JSGallery_simpleviewer example page

This an example for the JSGallery_simpleviewer script. It is an extension to the dynamic JSGallery, which uses the mootools framework and is totally free to use.
You can very easily create a nice, dynamic gallery with a particular HTML structure, an XML file in simpleviewer format and one simple js call. (see below)
This script was made by A+media and can be downloaded on eSteak.net

You need one container for your pages and one for the big image - thats it! For further configuration, please look at the JSGallery documentation.

Here is the JS call for the example gallery:

myGallery = new JSGallery_simpleviewer('gallery.xml', 			//the location of the xml file
				$('bigImage'), 				//the big image
				$('pageContainer'),			//container which contains the pages
				 9,					//the amount of images per page
				{'prevHandle': $('prev'),		//previous page link 
				 'nextHandle': $('next'), 		//next page link
				 'loadingImage': 'loading.gif'		//loading image for thumbnails
				});

Download on eSteak.net