JavaScript Zone


Introduction
Pre-requisites
Installation
Notes

Postcode Maps

Introduction
Site Links
Thompp's Javascripts Index
Thompp nation Home Page


This Javascript lets you type in postcodes and view the maps for these codes, courtesy of multimap.com.

You click on the "Map" link after entering a valid UK postcode, and this will create a link on your web page to the map for that postcode.

Example of this script:

Postcode Maps (UK only)

Links
multimap.com

Pre-requisites

  • none
Installation

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

Notes

  • this tutorial demonstrates:
    • how to use cookies to store names
    • how to display lists of items, and delete them
    • how to create dynamic links
  • the code for maintaining cookies is taken from the original date last visited / number of visits javascript from the JavaScript Source - thanks
  • if you use this script, amend the variable names' prefix from pt_ to something meaningful to your site


Page last updated 12th Mar 2005