Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3 panels instead of 1 #32

Open
behrang1981 opened this issue Apr 9, 2013 · 3 comments
Open

3 panels instead of 1 #32

behrang1981 opened this issue Apr 9, 2013 · 3 comments

Comments

@behrang1981
Copy link

Hi,
i have included codaslider at 3 places on the same page.
all sliders have different ids like slider-id1 ..id2 ..id3
wheren i init. the sliders i get 3 panels instead of 1.
or 6 instead of 4 etc
in the first example the other 2 new panels are clones of panel 1.
e.g. i get 3

when init is done.
i made a check: if i don't init. codaslider the html is correct i.e. 1 panel.
the html is fully w3c valid.
do you have any idea. I don't have any config in the slider.
greets

@behrang1981
Copy link
Author

i checked all 3 sliders:

  1. slider
    2 panel scontent
    4 panels after init

2.slider
4 panels content
6 after init

3.sloder
1 panel content
3 after init

@behrang1981
Copy link
Author

with {continuous:false} no additonal panels are created. but actually the continuous mode would be great.

@KevinBatdorf
Copy link
Owner

Is this resolved then? Continuous works by cloning the panels. It's not a problem unless you have some dynamic content in the first or last panel. If that's the case, I'd recommend cloning it too after it's loaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants