[jQuery] Open a particular menu in accordion based on value passed to it

2009-04-20 Thread abhishekgal...@gmail.com

Hi All,

I am using JQuery accordion to create a menu box , my problem is that
say if I have 4 containers (Divs/menu ) and at runtime I want to open
one of them depending upon the variable passed.

I know using the option "active:2" will open the 2nd container but can
anyone please tell me what is the syntax to set it dynamically...

for example ,If i have something like this ...
Menu 1
  a
  b
Menu 2
  c
  d
Menu 3
  e
  f

now If I want to open Menu 2 depending upon some value passed , how do
we do that ?


[jQuery] How do we change the css stylesheet of selected accordion header

2009-04-21 Thread abhishekgal...@gmail.com

Can anyone please tell me ,how do we change the css stylesheet of
selected accordion header.

I want that the selected accordion should have different background
color and other which are not selected should have different
background color.


[jQuery] how do we change the css stylesheet of selected accordion header ???

2009-04-21 Thread abhishekgal...@gmail.com

Can anyone please tell me ,how do we achieve  that the selected
accordion header should have different background color and other
headers  which are not selected should have different background
color.

I am  naive with Jquery  , jquery generates some kind of CSS
associated ..how do we overide that ?

Please help..