SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1116 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

The Spry Accordion Panel widget relies on two supporting files: SpryAccordionPanels.js
and SpryAccordionPanels.css.
If you take a look at the HTML code for the Spry Accordion Panel, you??™ll see that it is essentially a series of
nested
tags:


Label 1

Content 1



Label 2

Content 2



The real magic comes from the attached JavaScript script and the script tag at the bottom of the page that
initializes the accordion object:

Modifications to the accordion panel labels and content areas are, like the tabbed panels, performed directly
in Design view. To change the label on a panel, select the text and replace it. To add any content, remove the
placeholder phrase and insert your material. Again, you can switch from one panel to another via the
Property inspector or by choosing the eye icon in Design view.


Pages:
1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128