A
Andre
Hi everyone
I have created a quick menu with a go button to help visitors find items in
a page easier. My problem is that it opens everytime in a new window and I
would like it to stay on the same page but just follow the bookmarks .. like
a normal hyperlink pointing to a bookmark would.
I am not good with programming. I tried to change the onclick values but am
stuck
Thanks in advance
here is the code
<p align="center"><b><i><font color="#683808">Quick Find:</font></i> </b>
<select id="Choice" style="color: #683808; font-family:Georgia;
font-size:8pt; font-style:italic" size="1" name="ShoppingSelect">
<option>Select a Catagory</option>
<option value="c:\wwwroot\swakop3\shopping.htm#clothing">Clothing,
boutique's, outfitters
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#realestate">Real Estate,
Property
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#giftscraftscurio">Gifts,
crafts, creations, curios
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#coffeeshop">Coffee Shops,
Café, Confectioners
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#computerdealers">Computers,
software etc
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#fabric etc">Fabric, Material
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#MineralsGems">Gems, Minerals
etc</option>
<option value="c:\wwwroot\swakop3\shopping.htm#car rentals">Car, 4x4
Rentals etc</option>
<option href="c:\wwwrooswakop3\shopping.htm#jewellers">Jewelery and art
galaries</option>
</select>
<input type="button" value="Go"
onclick="window.open(Choice.options[Choice.selectedIndex].value)"
style="font-family: Georgia; font-size: 8pt; color: #683808; font-style:
italic">
I have created a quick menu with a go button to help visitors find items in
a page easier. My problem is that it opens everytime in a new window and I
would like it to stay on the same page but just follow the bookmarks .. like
a normal hyperlink pointing to a bookmark would.
I am not good with programming. I tried to change the onclick values but am
stuck
Thanks in advance
here is the code
<p align="center"><b><i><font color="#683808">Quick Find:</font></i> </b>
<select id="Choice" style="color: #683808; font-family:Georgia;
font-size:8pt; font-style:italic" size="1" name="ShoppingSelect">
<option>Select a Catagory</option>
<option value="c:\wwwroot\swakop3\shopping.htm#clothing">Clothing,
boutique's, outfitters
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#realestate">Real Estate,
Property
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#giftscraftscurio">Gifts,
crafts, creations, curios
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#coffeeshop">Coffee Shops,
Café, Confectioners
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#computerdealers">Computers,
software etc
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#fabric etc">Fabric, Material
</option>
<option value="c:\wwwroot\swakop3\shopping.htm#MineralsGems">Gems, Minerals
etc</option>
<option value="c:\wwwroot\swakop3\shopping.htm#car rentals">Car, 4x4
Rentals etc</option>
<option href="c:\wwwrooswakop3\shopping.htm#jewellers">Jewelery and art
galaries</option>
</select>
<input type="button" value="Go"
onclick="window.open(Choice.options[Choice.selectedIndex].value)"
style="font-family: Georgia; font-size: 8pt; color: #683808; font-style:
italic">