Creating Optional Content

The optional content feature allows you to define whether the content is hidden or displayed in the pages based on the template. It enables you to set conditional or specific values for displaying content. You control these values through template parameters and conditional expressions.

You can create an optional content region to use certain elements in some template-based pages but not others. The capability to allow specific elements to be included on an individual basis gives your template a great deal of flexibility. Some pages, for example, might need illustrations and descriptions. You can create a table that controls the layout for such illustrations and descriptions and then define it as an optional content ...

Get macromedia Dreamweaver 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.