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 A

The loadCalendar2(mm,dd,yy,dt,hh,ll,tt,ss) function has 8 parameters.

mm - Month
yy - Day of Month
yy - Year in four digits

dt, hh, ll, tt and ss parameters manage output of the Orthodox Calendar. If parameter equals to 0 correspondent HTML code will not generate.

dt - if 1, generates date in format Gregorian/Julian.
hh - if 1, generates Orthodox Calendar header which follows the date.
ll - generates the Lives of Saints. It can be 0,1,2,3,4,5,6.

0 - do not generate the Lives of Saints.
1 - generate the Lives of all Saints in separate paragraphs.
2 - generate the Lives of all Saints in one paragraphs.
3 - generate the Lives of major Saints in separate paragraphs.
4 - generate the Lives of major Saints in one paragraphs.
5 -generate the Lives of major Saints and New Martyrs in separate paragraphs (Moscow Patriarchate).
6 -generate the Lives of major Saints and New Martyrs in one paragraphs (Moscow Patriarchate).

tt - generates Troparion. It can be 0,1,2.

0 - do not generate Troparion.
1 - generate Troparion with header (word Troparion).
2 - generate Troparion without header.

ss - generates the Scripture Readings. It can be 0,1,2.

0 - do not generate the Scripture Readings.
1 - generate the Scripture Readings with header (words The Scripture Readings).
2 - generate the Scripture Readings without header.

 

 

 Previous Chapter: 5. Integration with PHP

Next Chapter: Appendix B

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