Kalendar
This JavaScript file contains the Kalendar class
(any)
Holidays and Events
Event structure "mm/dd/T:text" mm month 1-12 dd or position day of month ( 1-31 or day position ) T Event type "H" = Holiday, "I" = Information, "P" = Personal text Displayed texmt
The day position:
First 3 characters are the day of the week.
Followed by the position first, second, third, fourth or last.
The day position ignores case.
Initialize
set the location's latitude and longitude for sunrise and sunset. (If not set the sunrise & sunset will not be in the tool tip.)
Get the month before and after the current month and the number of days in the previous month in oder to fill in the cells at the beginning of the calendar.
Go to the previous Year.
Go to the next Year.
Go to the previous month.
Go to the next month.
Add the the days of the week to heading of calendar table.
Add the rows of calendar table.
Display the calendar.
A note is a line of text that will be displayed in a given date cell.
The list of notes are stored in a JSON formatted file.
Add the content of the note dialog box.
Add an event.
Event structure "mm/dd/T:text"
-
mm month 1-12
-
dd or position day of month ( 1-31 or day position )
-
T Event type "H" = Holiday, "I" = Information, "P" = Personal
-
text Displayed text
The day position: First 3 characters are the day of the week. Followed by the position first, second, third, fourth or last. The day position ignores case.
(string)
The event
Kalendar
Holidays and Events
Event structure "mm/dd/T:text" mm month 1-12 dd or position day of month ( 1-31 or day position ) T Event type "H" = Holiday, "I" = Information, "P" = Personal text Displayed texmt
The day position:
First 3 characters are the day of the week.
Followed by the position first, second, third, fourth or last.
The day position ignores case.
Initialize
set the location's latitude and longitude for sunrise and sunset. (If not set the sunrise & sunset will not be in the tool tip.)
Get the month before and after the current month and the number of days in the previous month in oder to fill in the cells at the beginning of the calendar.
Go to the previous Year.
Go to the next Year.
Go to the previous month.
Go to the next month.
Add the the days of the week to heading of calendar table.
Add the rows of calendar table.
Display the calendar.
A note is a line of text that will be displayed in a given date cell.
The list of notes are stored in a JSON formatted file.
Add the content of the note dialog box.
Add an event.
Event structure "mm/dd/T:text"
-
mm month 1-12
-
dd or position day of month ( 1-31 or day position )
-
T Event type "H" = Holiday, "I" = Information, "P" = Personal
-
text Displayed text
The day position: First 3 characters are the day of the week. Followed by the position first, second, third, fourth or last. The day position ignores case.
(string)
The event
display
If the browser is given permission to obtain the location it will be set automatically. Other wise it can be set with the setLocation() function. Note the call to display() is in navLocation()
append
Put in the rows of the calendar.
ct
The Seven days
now
Set the cell type
str
Display the day of the month.
str
Display Content.
str
Tool Tips - includes full data.
day_of_month
Display phase of the Moon