fcp.Calendar
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
- Created by: Felix Plesoianu
- Web Site: http://shadow-v.home.ro/index.html
- Posted: December 15, 2006
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.
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.
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.
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?
Got some good codes from the site.