Results 1 to 4 of 4

Thread: Accordion Content script

  1. #1
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default Accordion Content script

    Hello All,

    The Accordion Content script 1.6 works perfectly for me, however I need a bit further modification on it.

    at the moment it can handle one header level and content, I need to nest another header within the first header and then content.

    e.g. when i click open the title header, it slides out the questions (only), and then when i click open a question, it expand the answer for that question.

    title header -
    |- Question 1
    |-answer
    |- Question 2
    |-answer

    Can anyone help please?

  2. The Following User Says Thank You to jumpmantang For This Useful Post:

    zguess (01-26-2009)

  3. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Accordion Content script does support nested levels actually. The key is creating a nested setup is to treat each level of category headers as a new instance of Accordion Content script, and call ddaccordion.init() at each level. Take a look at the 2nd example on this page to see a 2 level Accordion Menu and how it's set up.
    DD Admin

  4. The Following User Says Thank You to ddadmin For This Useful Post:

    zguess (01-26-2009)

  5. #3
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    sorry for not following the rule, i'll make sure i do it next time.

    thanks for your answer anyway, it's very helpful.

  6. The Following User Says Thank You to jumpmantang For This Useful Post:

    zguess (01-26-2009)

  7. #4
    Join Date
    Jan 2009
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    Hello, I'm a tad new here.. well completely, but have been coding for a little while. Although I'm having problems with this very wonderful script. i have been shopping around for text drop downs, and this one best the est I've seen. The problem is, after following all the parameters, my table comes pre-expanded when i open the page preview, as to prepare itself for the show/hide tasks although none are actually open. The project I'm doing is due soon does any one have any suggestions?
    ******************RESOLVED SORRY!!*************************
    Last edited by zguess; 01-26-2009 at 12:47 PM. Reason: Problem was resolved, sorry to bother the experts, i just had spent like 3 hours trying to figure it out, THANK you all

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
  •