Method opens a slide with specified index - slideIndex (if not out of bounds). Slides are numbered from 0, which means that 1st slide = 0, 2nd slide = 1 etc. This method internally uses jQuery method eq, which means that you can use all of the advantages of this method such as goToSlide(-1) to open the last slide.
1) Method can be called inside every callback function (as demonstrated in demo 1):
this.goToSlide(slideIndex);
2) In case there is only one element matching the selector, method can be called anywhere in your code (as demonstrated in demo 2):
$('selector').data('jAccordion').goToSlide(slideIndex);
3) In case there are more elements matching the selector, method can be called anywhere in your code (eq(index) specifies index of accordion instace):
$('selector').eq(index).data('jAccordion').goToSlide(slideIndex);
Demo 1 demonstrates how to call the described method inside callback function ready() (the protocol is the same for all callback functions). The second slide is open after accordion is fully loaded, which is pointless because you can use option defaultActiveSlideIdx instead but it's sufficient for demonstration purpose.
Demo 2 demonstrates how to call the described method anywhere in your code.
jAccordion by maniacpc, exclusively for CodeCanyon