Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello max-power,
As we're using your plugin to create a slide in a mobile app, we're in the need of showing multiple content per slide. Instead of doing this stuff locally, I wanted to share it with you (open-source spirit :)
Basically the changes are the following :
I added an option to the plugin, visible_slides, that defaults to one so the behavior of the swipeslide plugin doesn't change and doesn't break the api. When visible_slides > 1, each slide displays "visible_slides" number of slide in each "screen". I updated the code so that the navigation links leads to each "screen" instead of each slide. I changed some calculations to match this change. And I added some comments, as they helped me understand the code.
I also added a basic new demo file, multi.html, and resized the sample images for this demo.
Before merging it to the master branch, my changes need to work with a vertical orientation (it doesn't) and with a 3d slider (untested).
I hope you will like the changes, and will merge them. I can volunteer for further work, especially the vertical and 3d stuff. Sorry if the changes are a bit messy.