beautypg.com

Adobe Dreamweaver CC 2014 v.13 User Manual

Page 702

background image

Repeating regions as seen in an editable InContext Editing browser window. The lower region is selected and can be duplicated again, deleted, or
moved up and down.

In addition to adding repeating regions based on the original region, you can also give the user the option to delete regions, add completely new
regions (not based on the content of the original region), and to move the regions up or down.

When you create a repeating region, Dreamweaver wraps it in another container called a repeating regions group. This container—a div tag with
the ice:repeatinggroup attribute added to the opening tag—acts as the container for all of the editable repeating regions that a user might add to
the group. You cannot move repeating regions outside of their repeating regions group containers. Additionally, you should not manually add
repeating regions group tags to your page. Dreamweaver adds them for you automatically when necessary.

Note: When creating a repeating region from a table row (tr tag), Dreamweaver applies the repeating regions group attribute to the parent tag (for
example, the table tag), and does not insert a div tag.

If you are working on a page that already contains a repeating regions group, and you try to add a repeating region immediately after the existing
group, Dreamweaver detects that a repeating regions group precedes the region you are trying to add, and gives you the option of adding the new
region to the existing group. You can choose to add the new repeating region to the existing group, or create an entirely new repeating regions
group.

Note: If you are adding an InContext Editing repeating region to a page that’s based on a Dreamweaver template, the new InContext Editing
repeating region must exist within a region that is already editable.

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,

695

This manual is related to the following products: