Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts
Monday, 14 July 2008
JSCalendar Problem - Stack overflow at line: 1797
I posted a blog regarding this JSCalendar earlier in the year, and it has been working great.. until recently when I got "Stack overflow at line: 1797" on my IE. This is caused by duplication in the javascript declaration, causing the calendar script to be loaded a couple of times. I cleaned up my HTML code and made sure that it was only declared once, and the problem went away.
Labels:
javascript
Thursday, 13 March 2008
Javascript Calendar
There are lots of Javascript Calendars out there, both in the form of javascript(s) or within an AJAX library (DOJO, Scriptaculous). Recently, I came across The Coolest DHTML / JavaScript Calendar [dynarch.com] and it was extremely easy to use! It only requires a few lines of codes in your HTML and bang, you've got a working date picker.
One thing to note is, it can clash with your existing css. JsCalendar is actually using "calendar" class for its div, and it has a table within the div. The solution to this problem is by adding this piece of css code:
One thing to note is, it can clash with your existing css. JsCalendar is actually using "calendar" class for its div, and it has a table within the div. The solution to this problem is by adding this piece of css code:
.calendar table {
width: auto;
}
Labels:
javascript
Subscribe to:
Posts (Atom)