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

prev and back buttons not changing the slide #35

Closed
simran-k opened this issue Dec 27, 2016 · 1 comment
Closed

prev and back buttons not changing the slide #35

simran-k opened this issue Dec 27, 2016 · 1 comment

Comments

@simran-k
Copy link

simran-k commented Dec 27, 2016

Slides change on autoplay and with pagination click but forward and back button do not work at all.

 <div id="homePageSlider">
                          <Swiper>
                                 <img alt="sweats-cards" classname="lazyload banner_main" name="sweats-cards-9-12-16" src=xyz.jpg" />
                          </Swiper>
                        </div>
                      </div>

I have tried passing this const params = {
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
paginationClickable: true,
spaceBetween: 30,
centeredSlides: true
};

as well but no luck

@kidjp85
Copy link
Owner

kidjp85 commented Jan 12, 2017

Hi @simran-k , thank you for your report. I checked your example code , do you have only one item in your slider ?

@kidjp85 kidjp85 closed this as completed Jan 16, 2017
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