![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the header.xml file in Dreamweaver (File -> Open), to change the content of your header. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Snowfall Header with Menu). After that, in the category of 'General', click the 'Edit' button near the 'Source' field. The following example shows the basic structure of the content XML file: <?xml version="1.0" encoding="utf-8"?>
<header>
<slides>
<img src="photos/photo1.jpg" title="Title 1" />
<img src="photos/photo2.jpg" title="Title 2" />
<img src="photos/photo3.jpg" title="Title 3" />
<img src="photos/photo4.jpg" title="Title 4" />
</slides>
<top>
<item caption="Root item 1">
<item caption="Sub item 1-1" link="empty.html" />
<item caption="Sub item 1-2" link="empty.html" />
<item caption="Sub item 1-3" link="empty.html" />
</item>
</top>
<bottom>
<item caption="Root item 1>
<item caption="Sub item 1-1" link="empty.html" target="_self" />
<item caption="Sub item 1-2" link="empty.html" target="_self" />
</item>
<item caption="Root item 2" link="empty.html" target="_blank" />
</bottom>
</header>
Headline, tag <header>, contains three child tags <slides>, <top> and <bottom>. In this example, header contains 4 slides, top and bottom menu. Menu item 'Root item 1' at top and bottom menu have submenus. In bottom menu item 'Root item 2' hasn't submenu. <header>Description <slides>Description <img>Description Attributes
<top>Description <bottom>Description <item>Description Attributes
|