Scriptcalendar.com
An Incredible Javascript Event Calendar

User Guide

»  Table Of Contents

Multiple Day Events

Section 3.2.2

You may demonstrate an event spaning several days by coding an event for each day. Using a color to unify the event helps identify it as spanning multiple days.

For example, the code creates an event on each day between 1/1/2010 and 1/3/2010. the style parameter and the scEventRed class name are used to provide a unifying color.

fscEvent( 1, 1, 2010, "3 day long event", null, "scEventRed" );
fscEvent( 1, 2, 2010, "3 day long event", null, "scEventRed" );
fscEvent( 1, 3, 2010, "3 day long event", null, "scEventRed" );

»  Table Of Contents