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

巧了我就是萌 提交于 2019-11-30 09:20:03

问题


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.


回答1:


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)



来源:https://stackoverflow.com/questions/23229776/jssor-slider-how-to-target-specific-slide-with-text-image-link

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!