Scal Files

Main Files

javascripts/scal.js - The meat of the project.
styles/scal.css - Styles used by scal when using divs instead of tables to build the control.
styles/scaltable.css - Styles used by scal when using tables instead of divs to build the control.

** Note ** Only include one of the css files. The two modes (div/tables) are not compatible style-wise.

Scal add ons

Planner

javascripts/scalplanner.js - Adds a basic planner to scal. This functionality was included in scal.js under v0.1. It was separated for v0.2 as not everyone needs a planner. (Major feature additions will follow the same pattern from this point forward.)

Demo Files

Basic Demo

scaltester_new.html - Provides a sample scal instance along with forms to set options on the fly. Consider it a live demo reel. (see it live here)

Planner Testing

planner_test.html - Loads up the planner with events. A few of these tests are included in the scal_unittest.html file. (see it live here)

Unit Testing

scal_unittest.html - Uses the script.aculo.us unittest framework to put scal through its paces. Very helpful if you are tweaking parts of scal and want to see if anything breaks.

Tabular Demo

slick_test.html - Uses the scal slick style to show off the tables version of the calendar display.(see it live here)