Running the Same Slideshow From two hrefs

Page: 1

Author Post
Member
Registered: Jan 2012
Posts: 98
I want to run the same slideshow, in one place by clicking on an image and in another place by clicking on an icon. How can I do that?

<admin edit>
php code snippets removed
</admin edit>

Is there something I am missing? Or am I going about it the wrong way altogether?
« Last edit by admin on Mon Jun 17, 2013 12:16 am. »
Administrator
Registered: Aug 2008
Posts: 3382
You're going about it the wrong way altogether. It's much simpler than you think, thanks to the "showThis" option. Assign the same group string to each link and set "showThis:false" on the ones that you don't want to become part of the gallery set. Those links will still invoke the gallery.

This is done right at the top of the Floatbox demo page. The first row of thumbnails invokes a standard gallery set. The "Include Index Links" and "View as Slideshow" links immediately below that row invoke the same gallery with different options but don't become members of the gallery set because of the showThis:false setting assigned to them.
Member
Registered: Jan 2012
Posts: 98
Brilliant! Thanks.

Page: 1