DREAMWEAVER CS3
User Guide
400
There are two repeating region template objects you can use: repeating region and repeating table.
See also
“Types of template regions” on page 387
Create a repeating region in a template
Repeating regions enable template users to duplicate a specified region in a template as often as desired. A repeating
region is not necessarily an editable region.
To make content in a repeating region editable (for example, to allow a user to enter text in a table cell in a template-
based document), you must insert an editable region in the repeating region.
1
In the Document window, do one of the following:
•
Select the text or content you want to set as a repeating region.
•
Place the insertion point in the document where you want to insert the repeating region.
2
Do one of the following:
•
Select Insert > Template Objects > Repeating Region.
•
Right-click (Windows) or Control-click (Macintosh), then select Templates > New Repeating Region.
•
In the Common category of the Insert bar, click the Templates button, then select Repeating Region from the pop-
up menu.
3
In the Name box, enter a unique name for the template region. (You cannot use the same name for more than one
repeating region in a template.)
Note:
When you name a region, do not use special characters.
4
Click OK.
See also
“Insert an editable region” on page 398
Insert a repeating table
You can use a repeating table to create an editable region (in table format) with repeating rows. You can define table
attributes and set which table cells are editable.
1
In the Document window, place the insertion point in the document where you want to insert the repeating table.
2
Do one of the following:
•
Select Insert > Template Objects > Repeating Table.
•
In the Common category of the Insert bar, click the Templates button, and then select Repeating Table from the
pop-up menu.
3
Specify the following options and click OK.
Rows
determines the number of rows the table has.
Columns
Determines the number of columns the table has.
Cell Padding
Determines the number of pixels between a cell’s content and the cell boundaries.
September 4, 2007