Calendar JSP taglib font control features
 Basics     Display     Titles     Fonts     Scrolling     Selection     Day Lists     Advanced Topics     
 
Default font items define the relationship between an imCalendar item and the display of the item. Default fonts are provided for each imCalendar item displayed.

Font Display
Internal fonts are utilized to minimize dependencies and syntax errors. Fonts are easily transformed from internal definitions to an external stylesheet, providing maximum flexability. Replace all internal definintions with external stylesheet references using a single tag:
     <cal:font name='defaults' style='external'/>
A default stylesheet, imcalendarstyle.css, is provided as an example.

Font Availability
Each individual font definition is altered using the <cal:font> tag. Available font definitions include:
 •  calendar
 •  calendarTitle
 •  subTitle
 •  columnTitle
 •  rowTitle
 •  monthTitle
 •  weekTitle
 •  weekdayTitle
 •  dayTitle
 •  contentColumnTitle
 •  contentRowTitle
 •  monthListTitle
 •  weekListTitle
 •  weekdayListTitle
 •  dayListTitle
 •  detail
 •  detailHighlight
 •  detailSelect
 •  extradays
 •  extradaysSelect
 •  scroll
 •  text

Font Content
Selectively, the display of each item may be altered by either changing the stylesheet class referenced or by altering the internal font definitions. For full details on each attribute see the imCalendar reference guide.

Font Example
Figure 1:
<cal:calendar initialDate='5/31/2004'>
<cal:font name="subTitle" bgColor="silver" color="black" />
<cal:display
     showCalendarColumnTitle="true" showCalendarRowTitle="true"
     showCalendarTitle="true" showCalendarSubTitle="true"
     showContentColumnTitle="true" showContentRowTitle="true"
     rowCount="2"
/>
<cal:title name="calendartitle" titleFormat="Calendar Title"/>
<cal:title name="calendarsubtitle" titleFormat="Calendar Subtitle"/>
<cal:title name="calendarcolumntitle" titleFormat="Column"/>
<cal:title name="calendarrowtitle" titleFormat="Row"/>
</cal:calendar>

 
Figure 1:
Calendar Title
Calendar Subtitle
Column
Row
May, 2004
Su Mo Tu We Th Fr Sa
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
Row
Jun, 2004
Su Mo Tu We Th Fr Sa
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3