fcp.Calendar | JavaScriptSource

fcp.Calendar

Felix Plesoianu Dec 15, 2006

General

A tiny, self-contained JavaScript library which displays a Gregorian calendar. An event is triggered when a user clicks on a date. Fully customizable via CSS. (Uses a European layout, i.e., the week begins on Monday.)


Notes

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: fcp_calendar.js


CSS

Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.


Head

Paste this code into the HEAD section of your HTML document.


Body

Paste this code into the BODY section of your HTML document


Leave a Response

(9 comments)

Good job.

Nemoskipper Nov 12, 2007

Jordan,[br /]The term "Gregorian" refers to the length. The Gregorian solar calendar is an arithmetical calendar. It counts days as the basic unit of time, grouping them into years of 365 or 366 days. The script clearly says it uses a European layout, i.e., the week begins on Monday.

Lee Jan 3, 2007

This script does NOT provide a Gregorian calendar! A gregorian week begins on Sunday and ends on Saturday. This script is pretty weird, 'cause it rearranges the dates so that each row ends on a Sunday.

Jordan Lee Wagner Dec 30, 2006

Very nice script, would find it more practical if I could add an event when a date is clicked instead of showing a time taken from the visitors clock which is delayed to the time the page was first visited.[p]Thank you for a worthy attempt anyway, pity it has no extra feature to warrant using the script?

Hellas Haggis Dec 30, 2006

Got some good codes from the site.

Abhishek Kumar Dec 20, 2006