Topic: Change url gallery.xml
The web example of Simple Viewer pro has the gallery.xml in the root where index.html also is.
But I would like to define the path to gallery.xml in index.html. But how?
Any help is really appreciated.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v2 → Change url gallery.xml
The web example of Simple Viewer pro has the gallery.xml in the root where index.html also is.
But I would like to define the path to gallery.xml in index.html. But how?
Any help is really appreciated.
You can point a SimpleViewer gallery towards a specific XML file using the galleryURL configuration option in your gallery's embedding code, for example:
<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars={};
flashvars.galleryURL="http://www.example.com/xml/custom.xml";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "100%", "100%", "222222", true, flashvars);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->
SimpleViewer Forum → SimpleViewer-Pro v2 → Change url gallery.xml
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.