JavaScript Zone

Script Tutorials

Introduction
Pre-requisites
Installation
Notes

News List

Introduction

This Javascript lets you display a list of latest updates to your site. Useful if you have a large site with several different pages that list updates.

Within the script, you maintain a list of the latest update on each part of your site. For each page, you enter the address of the page, its title, the latest update and its date. This script then lists these, highlighting the most recent.

Example of this script:



Pre-requisites

  • none
Installation

  1. Cut and paste the following code to your html page as indicated:

Notes

  • this tutorial demonstrates:
    • how to use 2-dimensional arrays
    • how to display lists of data in tabular format


Page last updated 15th November 2001