This an example for the JSGallery2_simpleviewer script. It is an extension to the dynamic JSGallery2,
which uses the mootools framework (version 1.2) 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 JSGallery2 documentation.
Here is the JS call for the example gallery:
myGallery = new JSGallery2_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
});