roundabout icon indicating copy to clipboard operation
roundabout copied to clipboard

Allow selectors for btnNext and btnPrev

Open pduersteler opened this issue 12 years ago • 1 comments

You currently can't have multiple roundabouts on the same page unless you assign the next and prev button an ID (which is contraproductive when e.g. generating roundabouts from a template through a script / CMS).

Having two roundabouts with .next and .prev buttons and e.g. btnNext set to ".next", a click on one of the buttons will trigger the "next" on all roundabouts on the page instead of just the roundabout you wanted to rotate.

A solution would be to allow objects for btnNext and btnPrev so you could set them with a jquery selector based on the current scope / roundabout.

pduersteler avatar Dec 06 '12 09:12 pduersteler

Hello! Same problem here. Any suggestions?

nekket avatar Oct 28 '13 19:10 nekket