2016-08-09

It's been almost 20 years since I did anything like this, and frankly, I don't remember how I did it. The code for it has been lost to time, so I don't even have that to refer to. I have tried searching for clues, but I am either not being specific enough in my search queries, or I just don't know how to search for it anymore. The issue is as follows:

I have a series of 50 small web pages that the user can scroll through using previous and next links. I want to add a goto link between those two links so the user can jump to the page they want to see next. All pages are local, so no explicit web paths are required, only the name of the file and any local path of directories needed to find the file.

What I do remember about it is that I used a select/option list to contain the labels of the pages, as well as the file names of the web pages each label points to. I also seem to remember it using some javascript to make it function. What I don't remember is how to write it, or whether or not it used a submit button.

Also, I am thinking it would be nice to use a text box to enter the number of the page (1-50) and have the code determine which page it is and jump there automatically, rather than selecting an item from a drop-list and possibly having to click a submit button.

Anyone willing to help me on this? I know how to setup the form. What I need help with is the javascript, or if things have changed that much in 20 years, what to use now instead.

Thanks in advance.

Wayne

Show more