Scroll To Top

Enter a query to search our site. Note that you can use "*" and "?" as wildcards. Enclosing more than one word in double quotes ("CSS Layout") will search for the exact phrase.

PVII Knowledge Base

1. Select a product ...
2. Select category ...
3. Search the Knowledge Base...

Question #264

Can I have a link that will open a page that contains an Accordion Panel Magic 2 system and trigger a specific content panel to open when the page loads? Perhaps by using a special anchor or an URL parameter?

The Answer

Prepared Apr. 2009 by Gerry Jacobsen, PVII

Yes. The Accordion Panel Magic 2 system includes an opener detection system that will look for a special URL parameter in the page's URL and will open the specified content panel.

Here' how to deploy:

The APM2 opener will look for the APM2 component number, an underscore, and the APM2 content panel.

Anchor Method:

The system will look for apm plus a panel reference after the anchor. The anchor, index.htm#apm2_4, will trigger panel 4 in the second Accordion Panel 2 component on the page.


URL Parameter Method:

The system will look for apm= in the URL parameter. A URL parameter, index.htm?apm=2_4, will trigger panel 4 in the second Accordion Panel 2 component on the page.

Back to the questions list