JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

Event Calendar

2. Get the Javascript

clr gif
Join the Discussion

Questions? Comments?

More of this Feature

Introduction Customize

To insert the event calendar script into your web page you first need to copy the following code and save it in a file called event.js.

You also need to add a small piece of HTML into the head of your page that will link the Javascript into the page so that the calculator will function.

<script type="text/javascript" src="event.js"></script>

You will also need to add the following into the body of your page where you want the event calendar to appear.

<div id="calendar"></div>

All that remains now is to customize the script so that it displays your events and matches the colour scheme of the rest of your site.

Explore JavaScript

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.