Dan WOW THIS IS GREAT. We all owe you a six pack of Mic's.
Do you know that of the 12 accordian plugins on Ajax Rain none come close to the simplicity of this puppy? I love that you got focus to work. And bring in the easing functionality is excellent. I can't wait to integrate this into my project. I also like the onselected feature for the sound effects. I'm sure I will have a few newbie questions when I start working with it. I hope other people here try it out. Thanks again, Mitch -----Original Message----- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan G. Switzer, II Sent: Friday, August 03, 2007 9:02 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Resig's Accordion Lite Mitchell, I threw together a really quick plug-in based on John's code and your example. I also addressed the issues you list above. http://www.pengoworks.com/workshop/jquery/resig_accordion.htm I changed a few things about the CSS declarations and the plug-in is based on John's original code--so I take no credit for that. Just thought it looked like something to do while drinking a few Michelobs. Click the "Toggle Easing" to see a different "Easing" algorithm at work. Not all of the algorithms provide a very good effect, so be careful with the easing you test. Also, instead of placing an onclick event to handle sound, I added an onSelected event handler you use to attach an additional "onclick" effect. I debated getting rid of the need for the anchor tag altogether inside the <dt> element, but decided the <a> element allowed for good unobtrusive behavior. Obviously, this is a very basic plug-in. -Dan