What it is
What it looks like
What you'll need
How to get it
How to use it
SourceForge.net Logo

Oops - There's been an error!

If this notice remains visible for more than 10-15 seconds please click here to be redirected to the static version of this site.

What it is

DHTML Calendar is a collection of HTML, CSS, and JavaScript code that utilizes Mike Foster's CBE JavaScript library to add a dynamic calendar to any Web page.

DHTML Calendar is ideal for...

Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Mon
Tue
Wed
Thu
Fri
Sat
Sun
Mon
Tue
Wed
Thu
Fri
Sat
DHTML Calendar, Eric Pretorious
You selected...

What it looks like

DHTML Calendar's appearance can be easily customized by editing the external style sheet. Three style declarations control most of The Calendar's appearance:

  1. DHTMLC - The 'DHTMLC' delcaration controls the appearance of the outer box.
  2. dotw - The 'dotw' declaration controls the appearance of the navigation bar (across the top of The Calendar) and the column headings.
  3. days - The 'days' declaration controls the appearance of the individual days that make-up The Calendar

What you'll need

To add DHTML Calendar to your Web page, you'll need...

  1. The DHTML Calendar files:
    1. DHTML_Calendar.html,
    2. DHTML_Calendar.js, and
    3. DHTML_Calendar.css.
  2. The CBE cross-browser JavaScript library. Specifically, you'll need...
    1. cbe_core.js, and
    2. cbe_util.js.

How to get it

DHTML Calendar is available...

  1. via HTTP from the DHTML Calendar project page, or
  2. via anonymous CVS from the SourceForge CVS servers.

The CBE cross-browser JavaScript library is available from Mike Foster's www.cross-browser.com or from the DHTML Calendar project page (without any documentation or example files).

How to use it

Adding DHTML Calendar is easy:

  1. Retrieve the current DHTML Calendar archive from the DHTML Calendar project page.
  2. Retrieve the CBE JavaScript library (from either www.cross-browser.com or from the DHTML Calendar project page.)
  3. Upload both of the archives to your Web site's document root.
  4. Expand both of the archives.
  5. Insert the HTML from the DHTML_Calendar.html file into any Web page where you'll want to add a calendar.
  6. Insert the following in the <HEAD>...</HEAD> section of the Web page:
    <link rel='stylesheet' type='text/css' href='/DHTML_Calendar.css' />
    <script type='text/javascript' src='DHTML_Calendar.js'> </script>
    <script type='text/javascript' src='/cbe/cbe_core.js'> </script>
    <script type='text/javascript' src='/cbe/cbe_util.js'> </script>
  7. Edit the style declarations (located in DHTML Calendar's external style sheet file: DHTML_Calendar.css) to modify The Calendar's appearance to better suit your application.
Open Source Initiative Logo