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

How can i set total item show on Moving boxes #110

Open
titannguyen opened this issue Jan 16, 2013 · 3 comments
Open

How can i set total item show on Moving boxes #110

titannguyen opened this issue Jan 16, 2013 · 3 comments

Comments

@titannguyen
Copy link

I tried to set 5 items appear with Moving Boxes but it miss the last item.....here this is my config

$('#slider-one').movingBoxes({
startPanel : 1, // start with this panel
reducedSize : 1, // non-current panel size: 80% of panel size
wrap : true, // if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
buildNav : false, // if true, navigation links will be added
width : 935
});

item width: 187px

error

@Mottie
Copy link
Contributor

Mottie commented Jan 16, 2013

MovingBoxes isn't programmed to display five panels at once. What you are seeing is it centering panel 1 inside of the container. You see the last panel to the left because wrap is true, so as you scroll right it repositions the slides and when the last panel is in the position of panel two as seen in the screenshot above and you scroll right, it repositions the panels in the container to look exactly the same as the screen shot above. I hope that makes sense.

Maybe a better bet would be for you to use AnythingSlider; all you would need to set is the showMultiple option to 5 - here is a demo.

@titannguyen
Copy link
Author

AnythingSlider doesn't has some things i need, like when clicked on the image it move to center. do you know another slider like Movingboxs but it can show 5 items?. Thanks

@gav-fyi
Copy link

gav-fyi commented Jan 22, 2013

+1 for 5 panel support.

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

No branches or pull requests

3 participants