Results 1 to 2 of 2

Thread: How to use named anchors with Accordion Content script (v1.6)

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

    Question How to use named anchors with Accordion Content script (v1.6)

    Hello Guys,
    I use Accordion content script and love it.
    May be someone can help me to achieve following.
    For example one page contains Accordion dynamic content which consist of 10 elements.
    I want to navigate to element #7 in accordion content from external page using named anchor.

    When the user would click the link on that external page it would go to the page where Accordion content is and automatically would expend element #7.

    It doesn't work in a way I know.
    Can anybody help to find the way around it?

  2. #2
    Join Date
    Aug 2004
    Thanked 1,008 Times in 993 Posts
    Blog Entries


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

    To answer your question, the section "Remote links that expand select headers on the target page" shows how to have a link on another page load the target page with a certain header expanded. To get the browser to actually jump to that header on the target page, you can try using a HTML anchor at the same time, so instead of just:

    <a href="target.htm?accordionheaderclass=2">Target Page</a>
    Your link may look like:

    <a href="target.htm?accordionheaderclass=2#myanchor">Target Page</a>
    If you're not familiar with HTML anchors, simply do a search on Google.
    DD Admin


Posting Permissions

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