For Webmasters
   Example 1.1
1. More Examples
   Example 1.2
   Example 1.3
   Example 1.4
2. Buttons
   Example 2.1
   Example 2.2
   Example 2.3
   Example 2.4
   Example 2.5
   Example 2.6
   Example 2.7
3. JavaScript Calendar
   Example 3.1
   Example 3.2
   Example 3.3
   Example 3.4
   Example 3.5
   Example 3.6
4. Another JS Calendar
   Example 4.1
   Example 4.2
   Example 4.3
   Example 4.4
5. Integration with PHP
   Example 5.1
Appendix A
Appendix B

   Show example

   zip

ru

For Webmasters

Appendix B

Style Sheet description.

a:link {font-size:10pt; color: rgb(0,0,255); text-decoration:none; font-weight:bold}
a:visited {font-size:10pt; color: rgb(0,0,255); text-decoration:none; font-weight:bold}
a:hover {font-size:10pt; color: rgb(153,153,153); text-decoration:none; font-weight:bold}

a:link.main {font-size:10pt; color: #800000}
a:visited.main {font-size:10pt; color: #800000}
a:hover.main {font-size:10pt; color: #cc6600}
a:active.main {font-size:10pt; color: #ff0000}

.normaltext { color: #000000; font-weight: normal; font-size: 10pt; font-family: arial, helvetica, sans-serif }
.minortext { color: #757575; font-weight: normal; font-size: 10pt; font-family: arial, helvetica, sans-serif }
.dataheader { color: #000000; font-weight: bold; font-size: 14pt; font-family: arial, helvetica, sans-serif }
.headerheader { color: #000000; font-weight: bold; font-size: 11pt; font-family: arial, helvetica, sans-serif }.headerfast { color: #008000; font-weight: bold; font-size: 11pt; font-family: arial, helvetica, sans-serif }
.headernofast { color: #ff5050; font-weight: bold; font-size: 11pt; font-family: arial, helvetica, sans-serif }
.scriptureheader { color: #000000; font-weight: bold; font-size: 11pt; font-family: arial, helvetica, sans-serif }
.troparionheader { color: #000000; font-weight: bold; font-size: 11pt; font-family: arial, helvetica, sans-serif }
.troparionseparator { background-color: #800000 }

.pdataheader { word-spacing: 0; text-indent: 0; line-height: 100%; margin-left: 0; margin-right: 0; margin-top: 10; margin-bottom: 5 }
.pheaderheader { word-spacing: 0; text-indent: 0; line-height: 100%; margin-left: 0; margin-right: 0; margin-top: 10; margin-bottom: 5 }
.pscriptureheader { word-spacing: 0; text-indent: 0; line-height: 100%; margin-left: 0; margin-right: 0; margin-top: 10; margin-bottom: 5 }
.ptroparionheader { word-spacing: 0; text-indent: 0; line-height: 100%; margin-left: 0; margin-right: 0; margin-top: 10; margin-bottom: 5 }

a:link, a:visited and so on define colors and fonts for links.
.normaltext - font and color for the list of Saints and Troparion.
.minortext - font and color for the list of minor Saints.
.dataheader - font and color for the date.
.headerheader - font and color for the header.
.headerfast - font and color for the 2nd string in the header for fast days
.headernofast
- font and color for the 2nd string in the header for none fast days
.scriptureheader - font and color for the header of the Scripture Readings.
.troparionheader - font and color for the header of the Troparion.
.troparionseparator - if you show Tropars this is the font and color for the Tropars separator.
.pdataheader - paragraph settings for the date.
.pheaderheader - paragraph settings for the header.
.pscriptureheader - paragraph settings for the header of the Scripture Readings.
.ptroparionheader- paragraph settings for the header of the Troparion.

If you going to modify or create you own Style Sheet it is helpful to run calendar.php and in the browser see the source of its output. Here is an example of calling the calendar with all php parameters:

http://www.holytrinityorthodox.com/calendar/calendar.php
?month=5&today=11&year=2008&dt=1&header=1&lives=1&trp=1&scripture=1

 Previous Chapter: Appendix A

 

O Most Holy Trinity, Our God, Glory to Thee!