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

Joseph W. Lowery

"Dreamweaver CS3 Bible"


The Repeat Region server behavior is very straightforward and extremely flexible. After selecting the
dynamic data and any surrounding code you??™d like to repeat, you specify the number of repetitions??”you
also have an option to display all the records in the recordset. The key phrase in the previous sentence is
???and any surrounding code.??? If you select only the dynamic data itself, the data is repeated one record after
another. You have to include some HTML element to enable the repeated data to appear separately, as on a
different line. Some of the most commonly used separation elements and their HTML tags are:
n Line break:

n Paragraph:

...


n Table row: ...
n Table data: ...
n Unordered or ordered list item:
  • ...

  • For the Repeat Region to work correctly, you must select both the opening and the closing tags that surround
    the dynamic data, as shown in Figure 21-1. The surest way to do this is to place your cursor on the
    dynamic data and choose the surrounding element from the tag selector.
    FIGURE 21-1
    To automatically number your data, apply a Repeat Region to the
  • tag within an ordered (or numbered) list.
    692
    Incorporating Dynamic Data Part IV
    To implement a Repeat Region, follow these steps:
    1.


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