malsup / cycle2

2nd gen cycling
899 stars 236 forks source link

Duplicate slideshows - template pager images not working but slider does #249

Open Matrix11 opened 11 years ago

Matrix11 commented 11 years ago

I have a number of slideshows and these are selected based on the users dropdown selection (theres always a default one on show).

I have it set up so when they change the slideshow selection, it changes and the images change but the cycle-active stays on the default slideshow and the user cannot click on the images to change them on the slideshow.

http://jsfiddle.net/Vsqa9/2/

Here is my code as an example, on the second dropdown slideshow, the main image changes but they are unable to click the pager images like the first one could, is there a way around this?

malsup commented 11 years ago

You can't use the same id for the pagers. Ids must always be unique.

On Fri, Jul 19, 2013 at 9:22 AM, Matrix11 notifications@github.com wrote:

I have a number of slideshows and these are selected based on the users dropdown selection (theres always a default one on show).

I have it set up so when they change the slideshow selection, it changes and the images change but the cycle-active stays on the default slideshow and the user cannot click on the images to change them on the slideshow.

http://jsfiddle.net/Vsqa9/2/

Here is my code as an example, on the second dropdown slideshow, the main image changes but they are unable to click the pager images like the first one could, is there a way around this?

— Reply to this email directly or view it on GitHubhttps://github.com/malsup/cycle2/issues/249 .

Matrix11 commented 11 years ago

Well that makes total sense! For some reason i was't sure if we could change the name but from your suggestion works a charm, Thanks for the quick feedback also.