Display Items The display related items are the heart of the Template Based Display feature. This tag allows you to incorporate parts or all of the calendar display directly into your template. There is only a single display related tag: <cw_d object="value" [other_options]> When this tag is encountered in your template file it is replaced with the corresponding HTML code needed to display the item. Note that the display is 'live' meaning that you can click on each of the various links. An example The following example displays the body of the calendar in a blue table that is exactly 400 pixels wide: <html> <body> <table width="400" bgcolor="blue"> <tr> <td valign="top"> <!-- displays the calendar --> <cw_d object="maintable"> </td> <!-- Line 8 --> </tr> </table> </body> </html> Insert the following code after line 8 (above) to display another calendar right next to the first one: <td valign="top"> <!-- displays another --> <cw_d object="maintable" > </td> Combined with the other <cw_> tags (Icons and Anchors) you can build an entire calendar application with complete control of the look and feel of the display. Command Reference The following table documents all the attributes and options available for use with the <cw_d> tag.
|