Public variable which stores jQuery object of the accordion.
1) Variable can be accessed inside every callback function (as demonstrated in demo 1):
this.$accordion;
2) In case there is only one element matching the selector, variable can be accessed anywhere in your code (as demonstrated in demo 2):
$('selector').data('jAccordion').$accordion;
3) In case there are more elements matching the selector, variable can be accessed anywhere in your code (eq(index) specifies index of accordion instace):
$('selector').eq(index).data('jAccordion').$accordion;
Demo 1 demonstrates how to access the described variable inside callback function ready() (the protocol is the same for all callback functions). Preloader (which is placed inside accordion) is removed after accordion is fully loaded and message indicating it is displayed below accordion.
Demo 2 demonstrates how to access the described variable anywhere in your code.
jAccordion by maniacpc, exclusively for CodeCanyon