JavaScript Zone

Thompp Nation > JS Zone > JS Scripts > Item Of the Day Tutorial
Menu
Bookmark This Page

Introduction
Pre-requisites
Installation

14. Item Of the Day JavaScript

Introduction
Links
Thompp's Javascripts Index
Thompp nation Home Page


This script allows you to show your site visitors an "item of the day" at random. A very brief description can be included, plus a thumbprint and link to a larger image.

There are also hyperlinks to the item in question, and also to select the next link or one at random.

The items are stored in a table within the Javascript (see below) making the list of items easy to maintain.

Item of the Day Demonstration


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