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 #204

Can I have a link that will open a page that contains an Accordion Panel Magic 1 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 Jan. 2007 by Gerry Jacobsen, PVII

Note: The Accordion Panel Magic 2 system also has a built in feature to handle this, see tech note #264 for details.

Yes. The Accordion Panel Magic 1 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 APM opener will look for the APM component number, an underscore, and the APM content panel.

Anchor Method:

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


URL Parameter Method:

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

Back to the questions list