![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 99
1998-2004 Gravitybox Software LLC
Figure 10.1
A very nice feature of this method is that extra raw HTML
may be inserted into the page, to make it more complete. A
schedule is displayed as a table in the created HTML file.
An HTML template file may be used to create the schedule,
at a particular place inside an HTML file. Squeeze a
schedule between two sets of raw HTML code, by using the HTMLHeaderText and
HTMLFooterText properties. When an HTML file with a particular layout is required (i.e.
Text-Schedule-Text), the HTML above the schedule is placed in the HTMLHeaderText
parameter. The additional text, displayed at the bottom of the page, is copied into the
HTMLFooterText parameter. Using these two parameters, of the ExportToHTML
method, a full HTML page with all necessary tags may be created.
In addition, the TableOnly property will determine if only the table is written or an entire
page is written. If this property is false, the HTMLHeaderText and HTMLFooterText
properties are used. As an example, an entire page is created with the following format.
<html>
<head>
<title>PAGETITLE</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<dd align="left"><p align="center"><strong><big><big>
PAGETITLE
Quick Tip
Add custom headers and footer to a
schedule webs page by using the
HTMLHeaderText and
HTMLFooterText properties on the
parameter object of the
ExportHTML method.
|