Thomas Wallace: Lectures and Resources - A collection of website design lectures and resources

Finding and Implementing Javascript

There a tons of resources online for finding Javascripts for your site. In this exercise, I will install a script from that displays todays date on your page.

  1. Open Dynamic Drive and go to the date/time section
  2. Select the Live clock script
  3. Follow the instructions on the page.

It should look like this when you are finished:

  • Remember to save the .js file in your scripts directory
  • In the 1st step of the example directions you'll see the following line <script language="javascript" src="liveclock.js">. It is pointing to the JavaScript file you download in the final step. Since we have placed the file in the assets/scripts directory we should change this line to read:
    <script language="javascript" src="assets/scripts/liveclock.js">
  • You can customize the appearance the clock by opening the JavaScript file and editing the options.

What I'm Reading

RSS Feed IconView More


  • 1.24.2012
    Structure, Content, Design, Behavior
My Calendar