Topic: Multiple HTML galleries on page / mobile HTML 5 mode

I really struggle to include multiple HTML galleries on one page. It seems to me that gallery HTML tags ids are not unique. If I use flash everything works very nicely.

This is my script:
  <div class="gallery" id="flashContent_portrait"> </div>
    <script type="text/javascript">
        var flashvars_portrait = {};
        flashvars_portrait.galleryURL = "../Xml/galleryPortrait.xml";
        var params_portrait = {};
        var attributes_portrait = {}; = "svInstance_portrait";
    $(document).ready(function () {
        SV.simpleviewer.load('flashContent_portrait', '100%', '600', '222222',false, flashvars_portrait,params_portrait,attributes_portrait);


<div class="gallery" id="flashContent_art"> </div>
    <script type="text/javascript">
        var flashvars_art = {};
        flashvars_art.galleryURL = "../Xml/galleryArt.xml";
        var params_art = {};
        var attributes_art = {}; = "svInstance_art";
    $(document).ready(function () {
        SV.simpleviewer.load('flashContent_art', '100%', '600', '222222',false, flashvars_art,params_art,attributes_art);

Above script outputs divs with ids such as "sv-mobile","sv-photos", etc. in every targeted div (in this case flashContent_art,flashContent_portrait), which means these ids are on the page twice. This results into only one functional gallery.

To my understanding the mobile div ids should be prefixed/suffixed with the instance name (parent div) e.g.  "sv-mobile_svInstance_art","sv-photos_svInstance_portrait" to make it work.

Is there some setting allowing me to pass in the unique identifier similarly as id attribute in case of flash mode, or what am I doing wrong ?

Thank you

Re: Multiple HTML galleries on page / mobile HTML 5 mode

There is a bug in the current version which affects embedding multiple galleries into one HTML document.
Until it is fixed, a workaround might be to load individual galleries into iframes as detailed here: … l#external

Steven Speirs
SimpleViewer Support Team

Re: Multiple HTML galleries on page / mobile HTML 5 mode

Thank you for your help.
How often do you do release and what is the best way how to find out about latest release ?