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?
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.
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.