responsive

onAccordionMouseEnter()

  • Available since: 1.2
  • Type: callback function

Callback function to be executed when cursor enters the accordion's direct children .jAccordion-slidesWrapper.

Callback creation

Callback function is specified in the configuration section of the plugin.

$('selector').jAccordion({
	onAccordionMouseEnter : function() { 
		//Here goes your code, e.g. alert('Cursor is over accordion.');
		//You can call any public method using this.method(), e.g. alert(this.isPaused());
	}
});

Demo 1

  • Source files of this demo are located in: Examples\callbackonAccordionMouseEnterDemo1

Demo 1 demonstrates how to create your own function displaying when cursor enters accordion below it. Background color of accordion is also changed.

Note: Callback is not triggered when cursor enters accordion but when it enters .jAccordion-slidesWrapper.

Loading content...
slide1
slide2
slide3
slide4
slide5

jAccordion by maniacpc, exclusively for CodeCanyon