Topic: Multiple galleries
Hi, i'm in a bit of a mess.
I'm trying to put multiple galleries on 1 page.
I have 2 folders in my root directory, svcore and svcore1 and this is my code i'm using..
<div id="gallery">
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.thetinyteacup.co.uk/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars1={};
flashvars1.baseURL="http://www.thetinyteacup.co.uk";
simpleviewer.ready(function () {
simpleviewer.load("sv-container1", "100%", "100%", "transparent", true, flashvars1);
});
</script>
<div id="sv-container1"></div>
<!-- END SIMPLEVIEWER EMBED -->
</div>
<div class="maintext">
<img src="images/ourchina.png" alt="The Tiny Teacup" align="left" />
</div>
<div id="gallery">
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="http://www.thetinyteacup.co.uk/svcore1/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars2={};
flashvars2.baseURL="http://www.thetinyteacup.co.uk/svcore1";
simpleviewer.ready(function () {
simpleviewer.load("sv-container2", "100%", "100%", "transparent", true, flashvars2);
});
</script>
<div id="sv-container2"></div>
<!-- END SIMPLEVIEWER EMBED -->
</div>
I have 2 galleries on the page but only the top one has any images.
I believe the bottom one can't see the xml file so i moved it into the svcore1 file as it was called gallery as well (i'm not sure how/where it looks for the xml file.
I also moved the images for that bottom gallery into the svcore folder in case it couldn't see them.
Any thoughts?
You can see where i've got to on www.thetinyteacup.co.uk/gallery
Thanks
Michael