Javascript: Pop up DHTML calendar using CSS
If you are looking for a simple JavaScript calendar that uses CSS and is easy to customise, then take a look at my calendar. I have created a basic javascript calendar that can be tweaked to suit your needs that makes it easy for your users to pick a date.
The Calendar
The calendar needs a JavaScript file and a CSS file which you can customise to suit your site. The JS file is only 14kb with comments. You simply put the javascript file in the <head> tag of your page and it will become available to use! See the examples below.
Usage
You can change the appearance of the calendar by simply changing the CSS to suit your needs. If you are feeling adventurous you can also dig into the JavaScript which is nicely commented so you can understand what's going on. You will have to change the CSS to suit your site as some of the other CSS you use on your pages might contradict what is in the calendar CSS - try it out and see how it goes!
Feel free to use this where you like but if it's a help to you, please drop me a line!
Examples
- Blue popup calendar A simple popup calendar in blue that doesn't have the nice fading effect on
- Orange small popup calendar Another smaller sized calendar that uses the nice fading effect
Changelog
- 29/01/2008 - Improved and reduced code, added fade effect and added tool tips to dates
- 30/03/2007 - First version
TODO List
- Position the calendar differently if it spills over the viewable space.
- Improve Code
- Allow different date separators
- Allow different date formats (YYYY/MM/DD and MM/DD/YYYY)
- Allow for date restrictions
Download the Javascript: Pop up DHTML calendar using CSS now!
Credits
My calendar uses some code from QuirksMode.org - http://www.quirksmode.org/js/week.html
Like this?
Archives
Categories
Comments (11)
What others have said about this post.
-
Anup said:
-
Stewart said:
-
Anup said:
-
weenaak said:
-
miss cassandra said:
-
chicas rubias said:
-
Mcs said:
-
chuava said:
-
Bill said:
-
qodo said:
Last Edit: May 20, 2010, 09:22:25 by qodo -
Juan said:

