Use drop-down lists to jump to other place in web-page or different web page.

  • Thread starter Thread starter John Berg
  • Start date Start date
J

John Berg

I have constructed a web page (www.sea-room.com/index-home-2.html) with a
drop down list to select one of six productc and then to jump to the webpage
selected. The "value" assigned to each product is a hyperlink to the related
page. The result of selecting a produc a confirmation page that tells me
what I selected but doesn't go anywhere. What am I doing wrong and how do I
effect the jump I want?
 
I still don't have the jumps correct. Please look at
www.sea-room.com/index-home-2 and you will see a jump list that doesn't
jump. Please let me know what's wrong?

And is there any way that the pages with .dwt attached can be made to arrive
at their top, i.e., the beginning line at the top of the window.
ere top, i.e., t

--
John Berg
The fact that in Mohammedan law every woman must belong to some man as his
absolute property - either as a child, a wife, or a concubine - must
delay the final extinction of slavery until the faith of Islam has
ceased to be a great power among men. --W. Churchill
 
The link resulted in a Page Not Found (404) error.

--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com
FrontPage Add-ins Summer Promotion -
FREE Purchase J-Bots Plus 2004 & receive Meta Tag Maker 2004 a $24.95 value FREE

John Berg said:
I still don't have the jumps correct. Please look at www.sea-room.com/index-home-2 and you will see a jump list that doesn't jump.
Please let me know what's wrong?

And is there any way that the pages with .dwt attached can be made to arrive at their top, i.e., the beginning line at the top of
the window.
ere top, i.e., t

--
John Berg
The fact that in Mohammedan law every woman must belong to some man as his
absolute property - either as a child, a wife, or a concubine - must
delay the final extinction of slavery until the faith of Islam has
ceased to be a great power among men. --W. Churchill
 
John -
Try this. You also have 2 "Name"s in the select tag
<form>
<p align="left" Select a product:></p>

<select id="setit" size="6" name="D1" style="color: #0000FF">
<option selected value="My-Cover/catalog-books.html">Books</option>
<option value="catalog-prints.html">Geoff Hunt Prints</option>
<option value="catalog-music.html">Chanties or Sea Music</option>
<option value="Catalog-videos.html">Videos,VHS or DVD</option>
<option value="http://www.google.com">Videos,VHS or DVD</option>
<option value="Catalog- Models.html">Framed Models</option>
<option value="BumperStickers.html">BumperStickers</option>
</select>
<input type="button" name="Submit" value="Go"
onClick="top.location.href = this.form.D1.options[this.form.D1.selectedIndex].value;return
false;">
</form>

Got it from here:
http://www.mediacollege.com/internet/javascript/navigation/drop-menu.html
There are some variations too.
MikeR
 
MikeR
Thanks. Worked perfectly.
John

--
John Berg
The fact that in Mohammedan law every woman must belong to some man as his
absolute property - either as a child, a wife, or a concubine - must
delay the final extinction of slavery until the faith of Islam has
ceased to be a great power among men. --W. Churchill

MikeR said:
John -
Try this. You also have 2 "Name"s in the select tag
<form>
<p align="left" Select a product:></p>

<select id="setit" size="6" name="D1" style="color: #0000FF">
<option selected value="My-Cover/catalog-books.html">Books</option>
<option value="catalog-prints.html">Geoff Hunt Prints</option>
<option value="catalog-music.html">Chanties or Sea Music</option>
<option value="Catalog-videos.html">Videos,VHS or DVD</option>
<option value="http://www.google.com">Videos,VHS or DVD</option>
<option value="Catalog- Models.html">Framed Models</option>
<option value="BumperStickers.html">BumperStickers</option>
</select>
<input type="button" name="Submit" value="Go"
onClick="top.location.href =
this.form.D1.options[this.form.D1.selectedIndex].value;return false;">
</form>

Got it from here:
http://www.mediacollege.com/internet/javascript/navigation/drop-menu.html
There are some variations too.
MikeR

John said:
My apologies. The correct URL is www.sea-room.com/index-home-2.html
 
Back
Top