• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. Automating Static Page Produc... > Optional Regions and Template Parame...

Optional Regions and Template Parameters

Dreamweaver MX introduced several powerful template features to complement the standard editable regions. Optional regions permit a designated area of a template-derived document to either be shown or hidden at design time. A catalog page might, for example, include an embedded “now on sale” banner in an optional region allowing the graphic to be displayed only for appropriate products. In this section, we look at ways of driving optional regions dynamically; it is assumed that you’re familiar with inserting them in the standard fashion.

Optional regions use two different sets of tags for both the template and the template-derived document. Within the template, one set of tags surrounds the content in the <body>:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint