I use Jssor Content slider and I want to connect three navigation buttons (Value My Home, Rent My Home and Property Market Analysis) with appropriate slide from slider, but I don't know how.
It's link from my webpage:
http://casssh.com/ValueMyHome/SaB/index.html
Asked
Active
Viewed 64 times
0

CaptainZZ
- 11
- 3
-
Please add meaningful code and a problem description here. Don't just link to the site that needs fixing - otherwise, this question will lose any value to future visitors once the problem is solved. Posting a [Short, Self Contained, Correct Example (SSCCE)](http://www.sscce.org/) that demonstrates your problem would help you get better answers. For more info, see [Something on my web site doesn't work. Can I just paste a link to it?](http://meta.stackexchange.com/questions/125997/) Thanks! – Darek Kay May 21 '15 at 00:59
1 Answers
0
Please listen to click
event on your tab element, and then call $PlayTo
method of the slider.
For example,
//play to the 3rd slide of the slider
jssor_slider1.$PlayTo(2);

jssor
- 6,995
- 2
- 18
- 21
-
I create click event on the tab element:
` ` but I don't know hot to call $PlayTo method... ... ` – CaptainZZ May 21 '15 at 15:52 -
Right, if you know which one is clicked, you'd know which slide you'd `$PlayTo`. – jssor May 21 '15 at 22:20