Topic: I can't get two different galleries on 1 site

Hello, I try to make two galleries on one page. One folder I named Tekstschrijver and the other folder is called Webontwerp.
The SV-script is -in my Dreamweaver site is-:

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="simpleviewer_230/Tekstschrijven/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.baseURL="simpleviewer_230/Tekstschrijven/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container1", "35%", "50%", "transparent", true, flashvars);
});
</script>
<div id="sv-container1"></div>
<!-- END SIMPLEVIEWER EMBED -->

<p align="left" class="content">&nbsp;</p>
<p align="left" class="content">&nbsp;</p>


<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="simpleviewer_230/Webontwerp/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.baseURL="simpleviewer_230/Webontwerp/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container2", "35%", "50%", "transparent", true, flashvars);
});
</script>
<div id="sv-container2"></div>
<!-- END SIMPLEVIEWER EMBED -->

When I view the page, I see two galleries, but they are the same. (I only see 'webontwerp' and not 'tekstschrijven').

Please help me, what am I doiing wrong?

Re: I can't get two different galleries on 1 site

If embedding multiple galleries on a single page and using flashvars, you will need to ensure that each gallery's flashvars variable name is unique.

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="simpleviewer_230/Tekstschrijven/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars1={};
flashvars1.baseURL="simpleviewer_230/Tekstschrijven/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container1", "35%", "50%", "transparent", true, flashvars1);
});
</script>
<div id="sv-container1"></div>
<!-- END SIMPLEVIEWER EMBED -->

<p align="left" class="content">&nbsp;</p>
<p align="left" class="content">&nbsp;</p>

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="simpleviewer_230/Webontwerp/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars2={};
flashvars2.baseURL="simpleviewer_230/Webontwerp/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container2", "35%", "50%", "transparent", true, flashvars2);
});
</script>
<div id="sv-container2"></div>
<!-- END SIMPLEVIEWER EMBED -->
Steven Speirs
SimpleViewer Support Team.

Re: I can't get two different galleries on 1 site

Thank you very much Steven, it works!!!!!!!!!!!!!!!!!!!!
big_smile  big_smile  big_smile  big_smile  big_smile