For this demo, the script is pulling random generated events from the server. In production, you will turn off Demo Mode and instead pull data from a database.
This script uses Ajax(Asyncron Javascript and XML) to read event data from the server.
New event: Hold your mouse down and drag
Move event: Hold your mouse down at the top of an event and drag
Resize event: Hold your mouse down at the bottom of an event and drag
Edit event: Hold your mouse down at the middle of an event and wait until a textarea appears. Click outside of the textarea when you're finished or hit the escape key to cancel the changes
Delete event: Click on event and press delete key on your keyboard