llanitedave
12-31-2006, 05:22 PM
Hi, all: I'm working on a family web site, and having two problems which I just can't seem to pin down. I'll address the first in this post.
There are three pages so far. At the top of each page I use the following select box to send the user to individual pages:
<form name = "choosePage" id = "choosePage" action = "post">
<b>Choose a page to view: </b>
<select name = "pageView" id = "pageView" onchange = "redirect(this);">
<option value = "" selected = "selected">Select another page</option>
<option value = "theWait.html">The Wait</option>
<option value = "oasis.html">The Oasis</option>
<option value = "purchase.html">The Purchase</option>
<option value = "finalMove.html">The Last Move</option>
<option value = "ours.html">Making it Ours</option>
<option value = "gallery.html">Photo Gallery</option>
</select>
</form>
The select box is tied to a simple javascript function that eliminates the need for a separate "Go" button.
The code in all three pages is identical, except that the option" of the current page is not listed. No functional differences whatsoever.
However, although the code works fine on the second and third pages, it does not work at all on the "index.html" page. The box doesn't even activate to display the list.
But it's the same code!
I've tried it in both Firefox and Konqueror, with the same result, so it's not just the browser, it's got to be me.
What am I overlooking?
There are three pages so far. At the top of each page I use the following select box to send the user to individual pages:
<form name = "choosePage" id = "choosePage" action = "post">
<b>Choose a page to view: </b>
<select name = "pageView" id = "pageView" onchange = "redirect(this);">
<option value = "" selected = "selected">Select another page</option>
<option value = "theWait.html">The Wait</option>
<option value = "oasis.html">The Oasis</option>
<option value = "purchase.html">The Purchase</option>
<option value = "finalMove.html">The Last Move</option>
<option value = "ours.html">Making it Ours</option>
<option value = "gallery.html">Photo Gallery</option>
</select>
</form>
The select box is tied to a simple javascript function that eliminates the need for a separate "Go" button.
The code in all three pages is identical, except that the option" of the current page is not listed. No functional differences whatsoever.
However, although the code works fine on the second and third pages, it does not work at all on the "index.html" page. The box doesn't even activate to display the list.
But it's the same code!
I've tried it in both Firefox and Konqueror, with the same result, so it's not just the browser, it's got to be me.
What am I overlooking?