Continent country selector

Navigation

Skip navigation.

Site search

Site navigation

Details and download

Providing the correct countries for a continent

If you do not permit (or support) JavaScript, the countries menu will simply display all countries as well as continent headings.

Select a continent or area

Select a country (ok, so some of them aren't strictly countries but I don't care)

This script is somewhat hard to understand as it is very efficient, optimised code. Whilst each concept it uses is easy, the way they work together may be difficult to understand. This script should only be attempted by experienced programmers.

This script is more customised than my other example scripts and is written purely for this purpose. If necessary it could be modified, for example, to provide a calendar that provides the correct number of days per month. It is not possible to use this script in any generic way without significant modification. If making your own version of this script, it would be better to use the OPTGROUP element to produce groups that can be added and removed together.

To download the script(s), see the script license, and check details like browser compatibility, use the links on the navigation panel at the top of this page.

This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.