niqmk / prototype-carousel

Automatically exported from code.google.com/p/prototype-carousel
0 stars 0 forks source link

Can i have two carousels on same page with next prev control links ? #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Cant make two carousels working in same page. I have next and previous
control links for each carousel, each carousel has its own classnames.
Can they work in this way or not ?

Original issue reported on code.google.com by ilan...@gmail.com on 18 Dec 2009 at 2:08

GoogleCodeExporter commented 9 years ago
First carousel is working with links, but when i click on the next or prev 
links of
second carousel, the script adds to them the "carousel-disabled" classname and 
they
not working

Original comment by ilan...@gmail.com on 18 Dec 2009 at 2:21

GoogleCodeExporter commented 9 years ago
The second carousel works with auto mode but not with next-previous links

Original comment by ilan...@gmail.com on 18 Dec 2009 at 2:29

GoogleCodeExporter commented 9 years ago
Did it myself, must define controlClassName in options to make it work

Original comment by ilan...@gmail.com on 18 Dec 2009 at 8:57

GoogleCodeExporter commented 9 years ago
I ran into this issue because the class names of my "jumper" links were 
different. You can either add the jumperClassName option, or give them the same 
class 'carousel-jumper' (the default) and use different selectors (e.g. 
$$('#area1 a.carousel-jumper') and $$('#area2 a.carousel-jumper')

Original comment by cou...@gmail.com on 11 Nov 2010 at 4:33