SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast icky_thump's Avatar
    Join Date
    Nov 2007
    Location
    St. Louis, MO, USA
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Spry Accordion Panel Defaults

    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

  2. #2
    SitePoint Enthusiast icky_thump's Avatar
    Join Date
    Nov 2007
    Location
    St. Louis, MO, USA
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FINALLY figured it out. it was the scripting at the bottom of the page, just had to get it worked out all proper like.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •