The script is coded from the scratch.
Live sample and download link at:
Your feedback and bug reports are welcome.
Old version is still available at:
There is a bug in Tigra Calendar 4.0.2. Steps to reproduce:
1) Open http://www.softcomplex.com/products/tigra_calendar/
2) Click the calendar icon next to "Live Sample"
3) Click "Next Month" until you reach December 2008 /2009 / 2010 etc
The calendar will show two "25" days, shifting all subsequent days one place to the right.
Tested both in Firefox 18.104.22.168 and IE 7. My date format is dd/mm/yyyy and time zone is GMT -3
This exception (starting) at line 95 on all versions display the name of the specified control instead of the form's name.
if (!this.e_input || !this.e_input.tagName || this.e_input.tagName != 'INPUT')
throw("TC: element '" + this.a_cfg.controlname + "' does not exist in "
+ (this.a_cfg.formname ? "form '" + this.a_cfg.controlname + "'" : 'this document'));
On IE7 the throws without try/catch on f_tcalShow cause yet a different error message stating that the exception was not handled. This does not happen on IE6 which shows a popup with the corresponding message. On Firefox the message can be seen only using the error console (well, it should be something like that as it's called "Consola de Errores" in spanish).
Encircling the "// find input field" block of code in a try/catch got this working on all the versions of those two browsers available to me for testing.
I hope this is of any use.
How should I code this so that the calendar displays immediately w/o having to click on the icon?