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 1209 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Select the dynamic data and surrounding code that you would like to repeat.
2. From the Server Behaviors panel, click Add (+) and select Repeat Region from the list. The Repeat
Region dialog box, shown in Figure 21-2, appears.
FIGURE 21-2
With the Repeat Region server behavior, you can show some or all the records in the
chosen recordset.
3. Choose the recordset you want to work with from the Recordset drop-down list.
4. If you want to present a subset of the recordset, enter the number of records you want to display
in the Show: Records field.
The default is to show 10 records at a time. You can change that value to anything you like if you
select the Show: Records option.
5. If you want to display every record in the recordset, choose the Show: All Records option.
6. Click OK when you??™re finished.
To test your implementation, make sure that the View ??? Visual Aids ??? Invisible Elements
option is enabled. Then click the Live Data button on the Document toolbar. Dreamweaver
displays each repeated selection with a highlight.
Although all the repeated elements are displayed on the screen, only the initial element within a Repeat
Region can be altered. If you change the initial element??™s formatting, you must click the Refresh button from
the Live Data toolbar to apply those changes to the other elements; this holds true even if you have Auto
Refresh enabled.


Pages:
1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221