On 10/26/06, Benjamin Sterling <[EMAIL PROTECTED] > wrote:

Can you supply an example on how you would implement this?


Sure, I was working on a demo page but here is a quick example of how this would be put together.

The HTML can be any pairing you want dt and dd; h2 and ul; h2 and div.

The pugin is chainable and can be used like:

jQuery('h2.accordion').accordion('ul.accorion', {startIndex: 0, speed: 'slow'})

 
The first argument should be a jQuery _expression_. Optional parameters are: startIndex, speed, and callback.

HTH,
Wil
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to