
This script allows your visitors to move between a sequence of web pages, for example a picture gallery, in any order they like or to the previous and next page in the sequence. This is better than hardcoding links on each page to every other page - it looks cleaner and has the advantage that if you add a new page to the sequence, you only have to update the script file and not every other page in the sequence.
The script relies on each page in the sequence having a common base name, such as 'jumper' in the example, and then an incremental number, e.g. 'jumper1.html', 'jumper2.html' and so on, which is passed in as an argument. Edit the script to tell it the base name and the number of the last page in the sequence.
This is the first page in a sequence of 3. Use the buttons below to navigate between them in any order you like.
Use your browser's 'View Source' command to view the page, the script is invoked by the showbuttons() call at the bottom of the page.