October 17th, 2006 My Javascript Date Chooser
If you just want the code, feel free to grab the JavaScript and CSS files below.
Give it a try:
All it takes to actually USE this, is to add onfocus=”cal.showCal(this);” to any text input like this:
<input name=”demo” type=”text” maxlength=”10″ size=”10″ onfocus=”cal.showCal(this);” />
valters Says:
Hi!
I would really like to use this calendar, but what really makes me sad that it starts the week with sunday. i think its a problem for many users. i went through the code and couldnt solve this to start week with monday an correct dates. can you post how to do this?
Thanks!
Valters
Aaron D. Campbell Says:
It would take a fair bit of changing. If I get extra time, I’ll do it. Unfortunately, I don’t think it will be very soon. I’ve got WAY too many projects at the moment. Hopefully you can find someone to do it for you.
Jubz Says:
The “give it a try” field is not working for me (Firefox). The onfocus even does not seem to be triggering.
naisioxerloro Says:
Hi.
Good design, who make it?
Aaron D. Campbell Says:
I made it.
Aaron D. Campbell Says:
I recently revisited this post, and realized the new design for Xavisys.com messed up the look of the calendar, making it nearly impossible to use! I apologize, and I added one line to the css that overrides the Xavisys defaults, setting the size of the buttons back to auto. It is now fixed, and the demo works as expected.
Grant Says:
This is supremely sexy. I’ll be using this for sure. Thanks for sharing this!