Triggers when cursor enters the accordion's direct children .jAccordion-slidesWrapper.
Callback can be attached to the event 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 API method using this.method(), e.g. alert(this.isPaused()); } });
or it can be attached after initialization using API methods bind() or on():
$('selector').data('jAccordion').bind('onAccordionMouseEnter', function() { //Here goes your code, e.g. alert('Cursor is over accordion.'); //You can call any API method using this.method(), e.g. alert(this.isPaused()); });
Demo 1 demonstrates how to create your own function displaying when cursor enters accordion below it. Background color of accordion is also changed.
Note: Event is not triggered when cursor enters accordion but when it enters .jAccordion-slidesWrapper.
jAccordion by maniacpc, exclusively for CodeCanyon