If the option is selected, the
phrase pass through in parentheses replaces the Show Attribute Name options and appears in
the list.
4. Otherwise, select the Show Attribute Name option to set the value to true and deselect it to set the
value to false.
5. To set the value of any other optional regions on the page, choose the entry from the list and
repeat steps 2 through 4.
6. Click OK when you??™re finished.
TIP TIP
891
Using Dreamweaver Templates 28
Evaluating template expressions
So far in this chapter, you??™ve seen a little of what template expressions can do. With optional regions, template
expressions are either set explicitly or evaluated to true or false. Template expressions can also be used
throughout the template to great effect. Here is a short list of what??™s possible with template expressions:
n Alternate the background color of a row contained in a repeating region.
n Automatically number each row in a repeating region.
n List the total number of rows in a repeating region.
n Show an optional region if a certain number of rows are used, or another region if that number of
rows is exceeded.
n Create sequential navigation links, allowing users to page to the next??”or previous??”document
in a series.
n Compute values displayed in a table, displaying items such as basic cost, tax, shipping, and total.
Pages:
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531