views:

278

answers:

4

Hi,

Good Morning.

I am very new to jquery. i want create a Accordion panel using Jquery with visiblility option.

Is it possible to set visible false for accordion control in jquery

Geetha

A: 

See Accordion using jQuery

rahul
A: 

Use an accordion plugin - or if it's simple enough, roll your own

$('#my-list li').css({ display: none }).click(function() { $(this).slideToggle(500); });

Check out docs for selectors, css, event handler and effects to learn how this works. It's very basic, but I often only ever need the basics, and it's sure better than incorporating an ~8kb (or more) plugin.

alex
A: 

This is what you want I understand http://www.learningjquery.com/2007/03/accordion-madness.

Enjoy coding.

Ravia
Hi, Now its working fine. I want to hide the header on some condition basis. is it possible?
Geetha
Hey Geetha vote up for the answer :-).
Ravia