Triggers when autoplay is paused, i.e. when cursor enters accordion's direct children .jAccordion-slidesWrapper.
The described event is triggered only if the below listed conditions were met.
Callback can be attached to the event in the configuration section of the plugin:
$('selector').jAccordion({ onPause : function() { //Here goes your code, e.g. alert('Autoplay paused.'); //You can call any API method using this.method() } });
or it can be attached after initialization using API methods bind() or on():
$('selector').data('jAccordion').bind('onPause', function() { //Here goes your code, e.g. alert('Autoplay paused.'); //You can call any API method using this.method() });
Demo 1 demonstrates how to create your own function displaying when autoplay is paused and when it's resumed plus amount of time for which active slide should remain open. Demo also uses a callback attached to event onResume.
jAccordion by maniacpc, exclusively for CodeCanyon