![]() |
|
Dreamweaver Extensions
|
Working with XML contentOpen the carousel.xml file in Dreamweaver (File -> Open), to change the content of your Banner Rotator. Also, you can open the XML content file through FlashDevelopment24 Wizard (Right click on Flash Object, then FlashDevlopment24 Wizard -> Flash 3D Carousel). 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"?>
<component>
<img src="photos/photo01.jpg" caption="CAPTION 1">
<description>
<item color="0xC68608" font="Myriad Pro" font_size="20" margin_bottom="-5">DESCRIPTION 1</item>
<item color="0x505050" font="Tahoma" font_size="11">description second line</item>
<item link="empty.html" target="_self" font="Myriad Pro" font_size="14" margin_top="5">BUTTON CAPTION</item>
</description>
</img>
<img src="photos/photo02.jpg" caption="CAPTION 2">
<description>
<item color="0xC68608" font="Myriad Pro" font_size="20" margin_bottom="-5">DESCRIPTION 2</item>
<item color="0x505050" font="Tahoma" font_size="11">description second line</item>
<item color="0x505050" font="Tahoma" font_size="11">description third line</item>
<item link="empty.html" target="_blank" font="Myriad Pro" font_size="14" margin_top="5">BUTTON CAPTION</item>
</description>
</img>
<img src="photos/photo03.jpg" caption="CAPTION 3">
<description>
<item color="0xC68608" font="Myriad Pro" font_size="20" margin_bottom="-5">DESCRIPTION 3</item>
<item color="0x505050" font="Tahoma" font_size="11">description second line</item>
</description>
</img>
</component>
In this example you can see 3 images. For example let's take first slide. It has source file and caption. Then goes tag description. It has three description items, first line has its own color (color="0xC68608"), font, size margin (margin_bottom="-5") and the description. Second line is the same, it just doesn't have margin. Third line is hyperlink (link="empty.html"), it has target, font, size, margin (margin_top="5") and title. Second snd third images are almost the same, they just differs in the number of description items. <component>Description <img>Description Attributes
The following attributes are optional for tag <img>. If tag <img> has a link attribute, so on mouse click on the link, a page will be opening. Meanwhile the description for this slide won't appear.
<description>Description If you specify for tag <item> additional attribute link, so the text will be displayed as button. For exmaple: The following attribute are optional for tag <item>.
|