[Plugin: NextGEN Gallery] multiple slideshow widgets
-
My site will have 4 mini slideshows in a row at the top of the page. I was going to achieve this by way of the Nextgen slideshow widget. But then I found out it wasn’t possible to insert the widget more than once. Even if I create a new sidebar group for each widget.
After doing some javascript hacking I found a way of doing this (see below). Not very clean (quite dirty actually)
It would be really great if this plugin could be update to allow Slideshow widgets to be inserted multiple times. Or maybe there is another reason it was coded in this way. (hope it doesn’t require a bit rewrite).
Thanks
Aicos<div class="ngg-widget-slideshow" id="sbsl1_1" style="width:180px; height:275px;"> </div> <div class="ngg-widget-slideshow" id="sbsl1_2" style="width:180px; height:275px;"> </div> <script defer="defer" type="text/javascript"> <!-- //<![CDATA[ var sbsl1_1 = { params : { wmode : "opaque"}, flashvars : { file : "http://www.logicalley.se/mellowyellow/wp-content/plugins/nextgen-gallery/xml/imagerotator.php?gid=1", shownavigation : "false", shuffle : "false", showicons : "false", overstretch : "none", rotatetime : "10", backcolor : "0x000000", frontcolor : "0xFFFFFF", lightcolor : "0xCC0000", width : "180", height : "275"}, attr : { styleclass : "slideshow-widget"}, start : function() { swfobject.embedSWF("wp-content/uploads/imagerotator/imagerotator.swf", "sbsl1_1", "180", "275", "7.0.0", false, this.flashvars, this.params , this.attr ); } } sbsl1_1.start(); var sbsl1_2 = { params : { wmode : "opaque"}, flashvars : { file : "http://www.logicalley.se/mellowyellow/wp-content/plugins/nextgen-gallery/xml/imagerotator.php?gid=1", shownavigation : "false", shuffle : "false", showicons : "false", overstretch : "none", rotatetime : "10", backcolor : "0x000000", frontcolor : "0xFFFFFF", lightcolor : "0xCC0000", width : "180", height : "275"}, attr : { styleclass : "slideshow-widget"}, start : function() { swfobject.embedSWF("wp-content/uploads/imagerotator/imagerotator.swf", "sbsl1_2", "180", "275", "7.0.0", false, this.flashvars, this.params , this.attr ); } } sbsl1_2.start(); //]]> --> </script>
The topic ‘[Plugin: NextGEN Gallery] multiple slideshow widgets’ is closed to new replies.