responsive

disableBtnsDuringTransition

  • Available since: v1.2
  • Type: option
  • Data type: Boolean
  • Allowed values: true, false
  • Default value: true

Specifies whether prevBtn and nextBtn are temporarily disabled while any slide is opening/closing.

Example:

$('.accordion').jAccordion({
	prevBtn : $('.accordion .prevBtn'),
	nextBtn : $('.accordion .nextBtn'),
	disableBtnsDuringTransition : true
});

Demo 1

Demo 1 demonstrates behaviour of the plugin with the described option enabled. Previous and next button don't work while a slide is closing/opening. Try repeatedly click previous or next button while a slide is opening or closing and see that nothing happens. Horizontal accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 2

Demo 2 demonstrates behaviour of the plugin with the described option enabled. Previous and next button don't work while a slide is closing/opening. Try repeatedly click previous or next button while a slide is opening or closing and see that nothing happens. Vertical accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 3

Demo 3 demonstrates behaviour of the plugin with the described option disabled. Previous and next button work even though a slide is closing/opening. Try repeatedly click previous or next button while a slide is opening or closing and see that previous or next slide is activated. Horizontal accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

Demo 4

Demo 4 demonstrates behaviour of the plugin with the described option disabled. Previous and next button work even though a slide is closing/opening. Try repeatedly click previous or next button while a slide is opening or closing and see that previous or next slide is activated. Vertical accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

jAccordion by maniacpc, exclusively for CodeCanyon