This topic presents the dialog box of the static server behavior that MX Tree Menu comes with. Before applying it, make sure you have the site definition and database connection correctly configured. Then follow the next steps:
If you don't have the Design View opened, click the corresponding button to open it;
Click inside the editable area, in the spot you want the menu inserted. If the cursor is not on page, an Error Dialog box will point it out when trying to add the server behavior;
l In the Get menu structure from textarea type the menu elements, respecting the following syntax: element_name element_URL element_description target. For a detailed description of this syntax, read below:
· In the element_name section type the name that will be displayed in the menu; if the name contains more than one word, separated through spaces, the name must be put between quotation marks, as in: "element_name";
· For the element_URL, you can use either an internal site URL (that does not have to be preceded by the full domain name, being relative to your site), or an external URL (that must also contain the "http://" section);
· The element_description must be separated from the URL section by a space, and does not have to be put between quotation marks, even if it contains more then one word.
· The target element contains one of he four general HTML options (_self, _blank, _top, _parent); if using frames, you can type the frame name into which to open the page as the target;
The level on which each element will be displayed is determined by the number of spaces it has in front of the element_name section. The elements' order in the menu coincides with the one written in the textarea. Elements belonging to a top-level must be written right below it, and preceded by one space more than the top one.
l The Highlight current entry checkbox enables the option of having the current menu entry highlighted;
l The three buttons in the top right corner of the interface offer you the next functionalities:
· Click OK when you are done configuring the command;
· Click Cancel to exit without the new settings to be applied;
· The Help button takes you to this help page that you are currently reading.
After configuring the dialog box as desired, click OK to insert the server behavior into the page;
A translator will be shown in the Dreamweaver page where the tree menu is placed:
Save the page and preview it in the browser by pressing the F12 button.