Dreamweaver Extensions

Working with XML content

Open the menu.xml file in Dreamweaver (File -> Open), to change the content of your menu. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash Vertical Menu). After that, in the category 'General', click the 'Edit' button near the 'Menu source' field.

The following example shows the basic structure of the content XML file:

<?xml version="1.0" encoding="utf-8"?> 
<navigation>
   <item caption="Root item 1">
      <item caption="Sub item 1-1" link="empty.html" target="_blank" />
      <item caption="Sub item 1-2" link="empty.html" target="_self" />
      <item caption="Sub item 1-3" link="empty.html" />
   </item>
   <item caption="Root item 2" link="empty.html" target="_blank" />
</navigation>            

In this example, parent <navigation> tag contains two child tags <item>. First root item has one sub menu with three items. The second item has no sub menu.

<navigation>

Description
Main tag and contains the structure of the menu.

<item>

Description
Contains the menu item.

Attributes

  • caption, The caption of the menu item.
  • link, The URL from which you can obtain the document.
  • target, Specifies the window or HTML frame into which the document should be loaded. You can enter the name of a specific window or select from the following reserved target names:
    • _self specifies the current frame in the current window.
    • _blank specifies a new window.
    • _parent specifies the parent of the current frame.
    • _top specifies the top-level frame in the current window.