Kalendar

This JavaScript file contains the Kalendar class

new Kalendar(div: any)
Version: 1.o
Author: Don Dugger
Copyright: 2024
Parameters
div (any)
Static Members
events
init(div)
setLocation(latitude, longitude)
navLocation(pos)
setDate(year, month)
getOffset()
getDaysInMonth(year, month)
getPrevNextMonth()
prevYear()
nextYear()
prevMonth()
nextMonth()
dayNames
NEW_MOON
NEW_MOON
display()
allowNotes(allow)
setNotesList(list)
addNote()
readNotes()
zeroPad
delNote(note)
displayYear(year)
displayMonth(year)
addEvent(ev)
dayShortNames
isEvent(year, month, day, day_of_week, type)
easter(year)

Kalendar

new Kalendar(div: string)
Parameters
div (string) -This is the
where the calendar will be displayed.
Static Members
events
init(div)
setLocation(latitude, longitude)
navLocation(pos)
setDate(year, month)
getOffset()
getDaysInMonth(year, month)
getPrevNextMonth()
prevYear()
nextYear()
prevMonth()
nextMonth()
dayNames
NEW_MOON
NEW_MOON
display()
allowNotes(allow)
setNotesList(list)
addNote()
readNotes()
zeroPad
delNote(note)
displayYear(year)
displayMonth(year)
addEvent(ev)
dayShortNames
isEvent(year, month, day, day_of_week, type)
easter(year)

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()

display

append

Put in the rows of the calendar.

append

ct

The Seven days

ct

now

Set the cell type

now

str

Display the day of the month.

str

str

Display Content.

str

str

Tool Tips - includes full data.

str

day_of_month

Display phase of the Moon

day_of_month