Results 1 to 2 of 2

Thread: Accordion Content script (v1.9)

  1. #1
    Join Date
    Jul 2011
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Accordion Content script (v1.9)

    1) Script Title:
    Accordion Content script (v1.9)

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...daccordion.htm

    3) Describe problem:
    Is it possible for a specific menu header to be expanded depending on the page?

    e.g. if I click on a link in an email for instance and the URL is http://some.website/Items.html, can the 'Items' header be expanded on the page load automatically?

    Thanks

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

    Default

    There's quite a few threads in general about getting a sub menu to open automatically based on the page the user is currently at. There is no "instant" way to do this- it really depends on finding some way on your own of matching the current page with the sub menu that is supposed to be open, then either setting the "defaultexpanded" parameter of your menu, or calling one of the Accordion Menu expand/contract methods, to expand that sub menu.

    In this case, you might want to use the "Remote links that expand select headers on the target page" option to accomplish this. This is explained in the 2nd half of the supplementary page of the script.
    DD Admin

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

    sitcrd (07-29-2011)

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
  •