
984
Part VI
Enhancing Productivity and Web Site Management
Now the calculations on this template are ready to be used for any product in the catalog, at any
price point, offering the same deal.
Sequential navigation links
Although much of the Web is based on the principle that you can link to any page from any other
page, certain situations—such as help or instructional applications—require sequential navigation.
Numerous help applications use some form of Previous and Next buttons, for example. If these files
are named sequentially—such as docFile10, docFile11, docFile12, and so on—template expressions
can be used to automatically code the links to the prior and subsequent pages.
Rely on template expressions for the capability to handle string concatenation to create these auto-
updating links. The first task is to set up a template parameter to be used as the number of the
current file in the series. If, for example, you’re creating
docFile5.htm from your template, the
template parameter is set to 5. To accomplish this task, use Dreamweaver’s editable attribute facility
to create the template parameter. This example assumes that you are editing a template with Previ-
ous and Next buttons already in place. Follow these steps:
1. Select the <a> tag surrounding the Previous button from the Tag Selector.
2. Choose Modify ➪ Templates ➪ Make Attribute Editable.
3. In the Editable T ...