Instructions for embedding Multiple Galleries on One HTML Page can be found here: http://simpleviewer.net/simpleviewer/su … l#multiple
If you have two self-contained gallery folders named 'gallery1' and 'gallery2', then the two sets of embedding code that should be on your page might look like this:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="gallery1/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars1 = {};
flashvars1.baseURL = "gallery1/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container1", "100%", "100%", "222222", true, flashvars1);
});
</script>
<div id="sv-container1"></div>
<!-- END SIMPLEVIEWER EMBED -->
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="gallery2/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars2 = {};
flashvars2.baseURL = "gallery2/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container2", "100%", "100%", "222222", true, flashvars2);
});
</script>
<div id="sv-container2"></div>
<!-- END SIMPLEVIEWER EMBED -->
Use the baseURL option to point to each gallery folder using a unique name for the 'flashvars' in each set of embedding code and embed each gallery into a <div> with a unique 'id'.
Steven Speirs
SimpleViewer Support Team