user2882773
user2882773

Reputation: 21

jssor - Go to next slide when clicking a "next" button or selecting a radio button

I am using the jssor Tab Slider to create an animated form. I want to add the option to move to the next slide within the content (not just by clicking the tabs at the top...)

2 ways I want to move to the next slide:

  1. Select a radio button
  2. Click continue button

I've tried adding data-u="arrowright" to my continue button, and it completely erased my tab navigation. I'm still not sure how to even start with the radio buttons.

Upvotes: 1

Views: 1828

Answers (2)

user2113670
user2113670

Reputation: 11

jssor_slider1.$GoTo( myImageNum )

Upvotes: -1

jssor
jssor

Reputation: 6985

var jssor_slider1 = new $JssorSlider$(...;

$('img.next').click(function () {
    jssor_slider1.$Next();
});

Hope this help.

Upvotes: 2

Related Questions