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

A way to not have the thumbnail nav slide on each click (with ActionMode still 1)? #147

Open
ghost opened this issue Sep 23, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 23, 2015

Basically I want to have:
ActionMode (Thumbnail Nav) to act on click without the thumbnail nav sliding unless the arrow nav is clicked.

ex.
If I have set the thumbnail to show 5 images at a time, and if I click one of those 5 it wont automatically park it to the default value, and so the same 5 images are still in view. If I click the arrow navigator in the thumbnails part, it will give a new set of 5 images (if there are).

I've read the docs but I may have missed some things.

EDIT:
Totally missed the reference APIs under the ad part.

So this is what I got so far:

jssor_slider1.$On($JssorSlider$.$EVT_PARK, function(slideIndex, fromIndex) {
    //some code
})

But I'm not sure if I'm referencing the thumbnail navigator right. This is what I'm using $JssorThumbnailNavigator$. I'm not really sure where to go from there, I've tried using some of the slider methods but none seems to be working. I don't really know where to go from here.

@ghost ghost changed the title A way to not have the thumbnail nav slide on each click? A way to not have the thumbnail nav slide on each click (with ActionMode still 1)? Sep 23, 2015
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

0 participants