responsive

pauseOnHover

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

autoplay is paused when cursor enters accordion's direct children .jAccordion-slidesWrapper.

Example:

$('.accordion').jAccordion({
	autoplay : true,
	pauseOnHover : true //You don't even have to set this property because 'true' is default value
});

Dependencies

The described option only takes effect if the below listed conditions were met.

  • autoplay: true

Demo 1

Demo 1 demonstrates behaviour of the plugin with the described option enabled. Move cursor over the accordion to see that autoplay will be paused. Messages indicating when autoplay is paused and when continues are displayed below accordion. 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. Move cursor over the accordion to see that autoplay will be paused. Messages indicating when autoplay is paused and when continues are displayed below accordion. 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. Move cursor over the accordion to see that autoplay will continue. 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. Move cursor over the accordion to see that autoplay will continue. Vertical accordion is used.

Loading content...
slide1
slide2
slide3
slide4
slide5

jAccordion by maniacpc, exclusively for CodeCanyon