JavaScript Zone

Thompp Nation > JS Zone > JS Scripts > Match Fixtures Tutorial
Menu
Bookmark This Page

Introduction
Pre-requisites
Installation

16. Match Fixtures JavaScript

Introduction
Links
Thompp's Javascripts Index
Thompp nation Home Page


Use this script to display, for example, your team's fixtures and results for the current season. You could also display results for previous seasons, provided they are held on separate pages.

You maintain your team's fixtures/results in a simple to use table that is held in a separate JavaScript (.js) file. These matches can be categorised how you please, e.g. into months. Then each category is displayed on your web page. When the user clicks a category, all the fixtures fot that category are displayed in a new window.

Currently this script can only display one table of matches per HTML page, although I may update this script in the future to amend this. Maybe leave it as an exercise to the reader to do this ?

Fixtures Demonstration

Liverpool FC Fixtures/Results for 2002/3


Pre-requisites

  • there are no pre-requisites for this tutorial
Installation

  1. Update your html page - add the following code as indicated:



Page last updated 8th August 2002