![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the news.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 News Line). After that, in the category of '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"?>
<news>
<item caption="Caption 1" link="empty.html" target="_blank">
<content>
<![CDATA[
<p underline="true"><font face="Tahoma" size="11" color="#A0A0A0">Content</font></p>
]]>
</content>
</item>
<item caption="Caption 2" link="empty.html" target="_blank">
<content>
<![CDATA[
<p><font face="Tahoma" size="11" color="#F0F0F0"><b>Title</b></font></p>
<p underline="true"><font face="Tahoma" size="11" color="#A0A0A0">Content</font></p>
]]>
</content>
</item>
<item caption="Caption 3" link="empty.html" target="_blank">
<img src="thumbs/thumb01.jpg" />
<content>
<![CDATA[
<p><font face="Tahoma" size="11" color="#F0F0F0"><b>Title</b></font></p>
<p underline="true"><font face="Tahoma" size="11" color="#A0A0A0">Content</font></p>
]]>
</content>
</item>
</news>
In this example, parent <news> tag contains three child tags <item>. First item has one line (paragraph)of the text in a <content> tag. Second item has two lines (paragraphs)of the text in a <content> tag. Third item has two lines (paragraphs)of the text in a <content> tag and an image source (thumbnail). <news>Description <item>Description Attributes
<img>Description Attributes
<content>Description Content used a special symbols <![CDATA[...]]>. Each content consists of paragraphs <p>. The text of a paragraph can be edited with the help of HTML tag <font>. Besides a default tag attribute align for the tag <p> there is available additional optional attributes:
|