/ Published in: XML
XML for Jeff Nehlsen's Accordion Slider (http://www.jeffnehlsen.com)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version="1.0" encoding="utf-8" ?> <pages> <settings> <headerWidth>30</headerWidth> <stageWidth>600</stageWidth> <menuHeight>300</menuHeight> <defaultImageWidth>100</defaultImageWidth> <defaultImageHeight>100</defaultImageHeight> <defaultFont>Arial</defaultFont> <defaultFontSize>12</defaultFontSize> </settings> <page title="Overview" backgroundColor="0xFF0000" headerY="100" textColor="0x000000" headerColor="0x000000" headerFontColor="0xFFFFFF" headerFont="Arial"> <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Accordion Slider Overview</text> <text color="0xFFF000" x="30" y="40" size="18" bold="true">The Accordion Slider has a few things:</text> <text color="0xFFF000" x="40" y="65" size="16" bold="true">- It's Scalable</text> <text color="0xFFF000" x="40" y="85" size="16" bold="true">- It's easy to use</text> <text color="0xFFF000" x="40" y="105" size="16" bold="true">- It's all driven by XML</text> <text color="0xFFF000" x="40" y="125" size="16" bold="true">- Supports text, images, and whole SWF files!</text> </page> <page title="Instructions" backgroundColor="0xFF0000" textColor="0x000000" headerColor="0x333333" headerFontColor="0xFFFFFF" headerY="100" headerFont="Arial"> <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Steps For Use</text> <text color="0xFFF000" x="40" y="65" size="16" bold="true">- Import package into code</text> <text color="0xFFF000" x="40" y="85" size="16" bold="true">- Create XML file</text> <text color="0xFFF000" x="40" y="105" size="16" bold="true">- Create an AccordionMenu object with the XML</text> <text color="0xFFF000" x="50" y="125" size="16" bold="true">file as an argument.</text> </page> <page title="Credits" backgroundColor="0xFF0000" headerY="100" textColor="0x000000" headerColor="0x666666" headerFontColor="0xFFFFFF" headerFont="Arial"> <text color="0x000000" x="10" y="10" size="26" bold="true" italic="true">Created By:</text> <text color="0xFFF000" x="40" y="65" size="16" bold="true">Jeff Nehlsen</text> <text color="0xFFF000" x="40" y="85" size="16" bold="true" selectable="true">http://www.jeffnehlsen.com/</text> <text color="0xFFF000" x="40" y="105" size="16" bold="true" selectable="true">[email protected]</text> <image src="mario.jpg" x="50" y="190" width="150" height="200" /> <text color="0x000000" x="205" y="285" size="12" bold="true">Hey, look! It's Mario!</text> </page> </pages>