Previous Topic: schedAttr Macro—Specify a Stored Attribute

Next Topic: The setSchedEvents() JavaScript Function

schedGroup Macro—Specify an Event Group

The schedGroup macro specifies the name and color coding of a group of items. The monthly view aggregates all items in a group into a single event. Views other than the monthly show individual items in the format for the group to which they belong. The following optional values are valid macro arguments:

grpname=xxx

(Required) Specifes the name of the group. The macro automatically assigns a number to the group and assigns the number to a JavaScript variable with a name of the form schedGroup_xxx, where xxx is the name of the group. This variable can be used in the setSchedEvents() JavaScript function to create an event belonging to the group.

Note: This argument is the only required argument for the schedGroup macro.

label=xxx

Specifies a label for the group. If specified, the label is displayed in all views.

legend=xxx|0

Displays a description of the group for the legend that appears at the bottom of the schedule. Groups appear in the legend if at least one example of the group exists in the current view. Specifying 0 causes the group always to be excluded from the legend.

Default: 0

color=black|color

Specifies the color of text in items of this group. You can specify color in CSS format, either a valid web color or a hexadecimal value preceded by a pound sign.

Example: Enter either "#FF0000" or "red" for red.

Default: black

bgcolor=white|color

Specifies the background color of items of this group. You can specify bgcolor in CSS format, either a valid web color or a hexadecimal value preceded by a pound sign.

Example: Enter either "#FF000" or "red" for red.

Default: white.

style=normal|bold|italic

Specifies the style of text of this group in the normal, bold, or italic style.

Default: normal