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

Custom Pagination #21

Open
jeffdfarr opened this issue Oct 10, 2016 · 2 comments
Open

Custom Pagination #21

jeffdfarr opened this issue Oct 10, 2016 · 2 comments
Labels

Comments

@jeffdfarr
Copy link

Is there a way to use paginateContent to use thumbnail images instead of numbers?

@pedro-rivera
Copy link

Anything on this?

@jbjanot
Copy link
Contributor

jbjanot commented Sep 28, 2017

Hi.

Sure, you can use any html you want with the property paginateContent.
In this property, if you pass the string %d, it will be replaced by the current slide number.

So for example :

$slider.extraSlider({
  paginateContent: '<img src="img/page-%d.jpg">'
});

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

No branches or pull requests

3 participants