see live demo!

Not signed in (Sign In)

Categories

 

buy Monoslideshow

via PayPal / credit card

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorspasmoid
    • CommentTimeFeb 3rd 2010 edited
     permalink

    At the moment, you can get the slideshow to start with the ability to select slideshow items (images) using startWithNavigationWindow

    However, I have an instance where there are multiple sub-albums in the root album/contents element, and I want the ALBUM selector to come up when the slideshow starts.

    Is there anyway to do this in the XML config file or with flash vars?

    Can I do it with the JavaScript or Actionscript API?

    ps. I need my slideshow to be idiot-proof. 90% of users are not going to spontaneously know how to navigate their way to selecting albums. I can startWithAlbumID be restarting the slideshow using some kind of JavaScript/HTML method but it is not elegent and is a complete waste of the monoslidhow capability to do a much better job. In the case of my monoslidshow.php script, it also means I can automatically add albums without the need to cater for HTML/JavaScript elements.

    • CommentAuthorLYNAMA
    • CommentTimeMar 18th 2010
     permalink

    I had the same problem.
    It was a lot easier in the older version with the 'startWith = "albums"' in the <preferences> tag.

    I played around with different things, and eventually got it working. The trick seems to be that you wrap your sub-albums around with a parent <album> tag, and give it an ID (I have called my 'main' in the sample below). Then use the startWithAlbumID in the <configuration> tag and start with that wrapper album ID.
    Example XML for this is as below;

    <?xml version="1.0" encoding="utf-8"?>
    <album id="main">
    <configuration startWithNavigationWindow="true" startSlideshowOnAlbumSelect="true" onAlbumEnd= "showNavigation" startWithAlbumID="main">
    </configuration>
    <contents>
    <album id="a" thumbnail="albumThumbnail-1.jpg" itemPath="images" thumbnailPath="thumbnails">
    <contents>
    <image source="P1.jpg" />
    <image source="P2.jpg" />
    <image source="P3.jpg" />
    </contents>
    </album>
    <album id="b" thumbnail="albumThumbnail-2.jpg" itemPath="images" thumbnailPath="thumbnails">
    <contents>
    <image source="P4.jpg" />
    <image source="P5.jpg" />
    <image source="P6.jpg" />
    </contents>
    </album>
    </contents>
    </album>

monokai logo © 2009 Monokai, all rights reserved. Buy Monoslideshow.