Forum Moderators: open

Message Too Old, No Replies

Spry Accordion Panel Defaults

Open, close and default for accordion panels

         

icky_thump

7:13 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



Hi all,

Through DWCS3 I placed a Spry Accordion in my website. I would like to have two things happen that I cannot figure out.

One, upon selecting a page from the accordion navigation, I want the new page to open with the Accordion Panel containing the link to show. As a simple example, if I have an accordion with panels A, B, C & D and each panel has content 1,2,3 & 4. When I click on B3 and that page loads, I want the Accordion to be open to the 'B' panel.

Two, on the initial page of the accordion I'd like the whole accordion to be closed. And if possible, be able to close an open panel, thereby closing up the whole thing.

there's too much JS for my brain to deal with, I have very limited knowledge there.

any suggestions how to make this functionality work?
THANKS

icky_thump

11:40 pm on Jan 3, 2008 (gmt 0)

10+ Year Member



GOT IT! finally.

twas the scripting at the bottom of the page that had to be adjusted.
quite simple, really.