2020.1

Table Of Contents
jQuery and its plugins, or MooTools, are useful when you want to implement special features in
the web page. (See "Using JavaScript" on page538.)
Style sheets are also added to the <head> and are used just as they would be used in a regular
web page. (Also see: "Styling templates with CSS files" on page719.)
Web output can be generated in two different ways: it can be attached to an Email template
when generating Email output, or it can be generated using Workflow.
Web output can be generated from the Designer when a data set is available. The data can be
retrieved from a database or data file, or from a data mapping configuration.
If you have an open data mapping configuration and open another data file, the current data
mapping configuration will try to retrieve data from the file or database using its own Data
Model and extraction logic.
Note
When generating output with just an open data mapping configuration, the template is merged with
the complete sample data file that is part of the data mapping configuration. The output is not
limited to the number of records shown in the Data Model pane (which is one of the settings in the
DataMapper).
Before generating Web output
l
Before actually generating the Web output, you may want to rasterize certain elements,
such as business graphics. Rasterizing converts the element to a JPG or PNG image.
This is very useful to support as many clients as possible. For example, when a heading
uses a font type that is not a Web font, converting the heading to JPG instead would
ensure that the heading looks the same in all browsers.
To rasterize an element, right-click it and select Rasterize options. For a JPG image you
can set the quality of the resulting image in a percentage.
Note
Rasterization options are only available for Boxes (<div> elements); see "Boxes" on
page668.
Page 1454