You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Add support for multiple sliders shown at the same time
if(base.options.showMultiple) {
base.$el.append( base.$items.first().clone().addClass('cloned').removeAttr('id') );
base.$el.append( base.$items.next().clone().addClass('cloned').addClass('multiple').removeAttr('id') );
}
// Only one slider at the same time
else {
base.$el.append( base.$items.filter(':first').clone().addClass('cloned').removeAttr('id') );
}
and adding a new config option:
showMultiple : false, // Show multiple slides at the same time
I'm not sure what functionality you were trying to get, but the code above simply adds cloned panels for the infinite slide effect and has nothing to do with the number of slides that appear inside the window.
Activity
Mottie commentedon Mar 30, 2011
I haven't had a chance to really look into this, but have you thought about trying Moving Boxes?
caseybecking commentedon Apr 1, 2011
Yeah, I'm using jcarousel right now and was looking to use one slider for everything.
Mottie commentedon Apr 1, 2011
Hi Casey!
After looking into it, it'll take too much extra coding to accomplish this and I feel that the code is already bloated enough. Sorry.
caseybecking commentedon Apr 1, 2011
No problem, thank you for all your help.
poebel commentedon May 19, 2011
Hi,
needed this funcionality for myself.
Replacing line 194 with this:
and adding a new config option:
did the trick for me
Mottie commentedon May 20, 2011
Hi Poebel!
I'm not sure what functionality you were trying to get, but the code above simply adds cloned panels for the infinite slide effect and has nothing to do with the number of slides that appear inside the window.
poebel commentedon May 23, 2011
Hi Mottie,
yes, but the rest will be only some css editing
example: http://poebel.net/sliderDemo/
important part is:
Mottie commentedon May 23, 2011
Hi Poebel!
Hey that's really cool and clever! But man that's a lot of cloned slides. I'll look into adding this with flexible options, thanks.
mablae commentedon May 23, 2011
That's a great thing! Please add this multiple function:
http://poebel.net/sliderDemo/
Mottie commentedon May 24, 2011
Ok added in version 1.5.14! Thanks again!
mablae commentedon May 24, 2011
Great!
2011/5/24 Mottie <
reply@reply.github.com>
poebel commentedon May 25, 2011
Mottie:
Yep I know, that was just a quick fix. I have a maximum of 8 Slides in my project so the overhead is not that big.
And thanks for adding and improving the function.
Now its the best slider afaik :)