If the attribute is already present
in the selected tag, the current value is displayed in the Default field. For new attributes, the
Default field is initially blank.
9. Click OK when you??™re finished.
Editable attributes are noted in the code by surrounding the values with double @ signs, like this:
@@???)
align=???@@(monthlyImageAlign)@@???>
In this example, the
![]()
tag has two editable attributes, src and align, which are set to variable values:
@@(monthlyImageSrc)@@ and @@(monthlyImageAlign)@@, respectively.
You can apply the same editable attribute to different tags. For example, you might want different
cells of various tables on the page to share the same bgcolor. Although you can repeat
the Make Attribute Editable command for every variable, you might find it more efficient to simply copy and
paste the variable value.
When you examine the template file, note two Adobe comments inserted in the section:
These TemplateParam tags are used by Dreamweaver to identify the editable attributes and provide their
types and default values.
Pages:
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515