Adobe Dreamweaver CC 2015 User Manual
Page 455
448
Cross-product
Last updated 6/3/2015
To create a repeating region in Dreamweaver, follow these steps.
1
Do one of the following:
• Select a tag that you want to transform into a repeating region. The list of possible tags is extensive: a, abbr,
acronym, address, b, big, blockquote, center, cite, code, dd, dfn, dir, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr,
i, img, ins, kbd, label, li, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody, tr, tt, u, ul,
and var.
Note: Only div tags can contain the editable region and repeating region attributes simultaneously.
• Place the insertion point where you want to insert a new repeating region on the page.
• Select exactly one repeating region in a Dreamweaver template (DWT file).
• Select other content on your page that you want to make repeatable (for example, a heading and a block of text).
2
Choose Insert > InContext Editing > Create Repeating Region.
3
Your options vary, depending on your selection.
• If you selected a transformable tag, Dreamweaver transforms the tag into a repeating region without any further
steps.
• If you’re inserting a new, blank repeating region, do one of the following:
• Select Insert New Repeating Region at the Current Insertion Point and click OK.
• Select Transform the Parent Tag Into a Repeating Region if you want Dreamweaver to make the parent tag of
the selection the container element for the region. Only certain HTML tags are transformable: a, abbr,
acronym, address, b, big, blockquote, center, cite, code, dd, dfn, dir, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6,
hr, i, img, ins, kbd, label, li, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody, tr, tt,
u, ul, and var.
Note: This second option is only available when the parent node meets the exact criteria for transformation. For
example, it must be one of the listed transformable tags, and it must not be subject to any of the errors listed in
.
• If you selected a Dreamweaver template repeating region, click OK in the Create Repeating Region dialog box.
Dreamweaver wraps the template repeating region with a div tag that acts as a container for the new InContext
Editing repeating region.
• If you selected other content that you want to make repeatable, do one of the following:
• Select Wrap Current Selection With a DIV Tag and Then Transform It if you want to wrap whatever you
selected with a div tag and turn it into a repeating region. The div tag with which Dreamweaver wraps the
content acts as the container for the repeating region.
• Select Transform the Parent Tag Into a Repeating Region if you want Dreamweaver to make the parent tag of
the selection the container element for the repeating region. Only certain HTML tags are transformable: a,
abbr, acronym, address, b, big, blockquote, center, cite, code, dd, dfn, dir, div, dl, dt, em, font, h1, h2, h3, h4,
h5, h6, hr, i, img, ins, kbd, label, li, menu, ol, p, pre, q, s, samp, small, span, strike, strong, sub, sup, table, tbody,
tr, tt, u, ul, and var.
4
In Design view, click the blue tab of the repeating region to select it if it’s not already selected. Notice that
Dreamweaver actually forces you to select the tab for the repeating regions group. This is because all repeating
regions exist within a repeating regions group, and you must set options for repeating regions by setting options for
the entire group.