Topic: can't "hide" gallery within AP Div on Dreamweaver
Hello all,
I have successfully embedded a SimpleViewer gallery into an HTML page in Dreamweaver. It is currently loading into an AP Div that is supposed to be hidden upon opening the page - it only needs to show after the user clicks on a button.
However, although the AP Div is hidden in Dreamweaver, I can see the gallery right away after publishing the page, which is not what I want. I also want the AP Div to "hide" after clicking on a different button, and that's not working either. I'm afraid one of the settings in the embed code I'm using is triggering the gallery to appear all by itself (probably the flashvars parameter, which I honestly don't know what it does, but it was the only way I managed to place the gallery inside the AP Div). This is what the code I'm using looks like:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="simpleviewer_gallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.baseURL = "simpleviewer_gallery/";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
I have very basic knowledge of code, so please bear with me.
I'm using Dreamweaver CS4. I might be leaving out some important information; let me know if that's the case and sorry in advance!
many thanks,
Carolina