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

Is there way to have a text link that I can place in a panel or anywhere else on the page that will open a specific Accordion Panel Magic 3 (APM3) panel?

The Answer

Prepared Aug. 2013 by Gerry Jacobsen, PVII

Accordion Panel Magic 3 (APM3 ) comes with a very handy Dreamweaver Behavior to control APM3 functions that you can assign to ordinary links on your page. The links can be anywhere on your page, even inside an APM3 content panel or other widgets.

The Control Behaviors are:

You would use the Behavior whenever you want to control panels from links on the same page. You can apply the Behavior to any text or image link and select the panel to open in the Behavior User Interface.

The User Guide contains a complete detailed discussion on how to use the Behavior.

A typical trigger behavior would look like this:

   P7_AP3control('p7AP3t1_3','open')

and when applied to a text link, the code for the link would look like this:

<a href="#" onclick="P7_AP3control('p7AP3t1_3','open');return false">Open Panel 3</a>

The above will open the third panel.

Back to the questions list