Editable regions can encompass any portion of the page, from a single tag up to the
entire . But what if you want to make just a portion of a tag??”an attribute??”editable and keep the
rest of the tag locked? I once worked on a site where the client wanted to tie the background color of a table??™s
header row to a graphic on the page. Every couple of weeks, I would get an e-mail asking for help to fix the
page??”broken while the client was trying to change the one attribute, bgcolor. It was a frustrating situation
for both the client and me.
Dreamweaver gives you control over your editable areas right down to the attribute level. Not only can an
attribute be made editable, but you can restrict its type and even provide default values. All the editable
attributes on a page are displayed within a single dialog box, centralizing updates. The various types of
attributes??”text, number, URL, color, Boolean??”each have a specific interface for choosing a value. A
color-type attribute, for example, uses a Dreamweaver-style color picker.
879
Using Dreamweaver Templates 28
11. Press Delete to remove the selected original text. Press Enter (Return) to create a new paragraph
and enter this placeholder text: Enter lively description of property here.
Pages:
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511