Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

jquery - Jssor Slider: How to target specific slide with text/image link?

Can anyone tell me how to target a particular slide using a simple text/image link?

Specifically, I am using the Jssor Slider Cluster (http://www.jssor.com/demos/slider-cluster.html).

Currently the slides can be navigated using Bullet Navigator and Arrow Navigator which are in standard dimension and/or spaced equally apart. I am attempting to create my own links which have different sizes/lengths.

Thank you in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

There are 2 ways,

1. use api call to play to specified slide.

jssor_slider1.$PlayTo(2);
//or
jssor_slider1.$GoTo(2);

2. customize thumbnail navigator with your own format.

Please see 12 thumbnail navigator skins in the package. Note that you can compose your thumbnail in any format (html, text, image or combination)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...