form fields and links to external websites

  • Thread starter Thread starter Derek
  • Start date Start date
D

Derek

Hi there i am looking to have a field with a drop down menu where you push
the button and a lot of select options are availible. when i go to drop down
box properties i put the choice in and check select value. my question is
this what do i put in the value box IN ORDER TO CREATE LINKS TO OTHER
WEBSITES.

regards
derek
 
what version of frontpage?

If you have Fp 2003 there is a behaviour to do exactly what you want.

otherwise you need to do this:

<form>
<p align="center"><b>Select a Site </b>
<select id="setit" style="color: #0000FF" size="1" name="test">
<option value="">Select one</option>
<option value="http://www.altavista.com">AltaVista</option>
<option value="http://www.yahoo.com">Yahoo</option>
<option value="http://www.google.com">Google</option></select>
<input type="button" value="Go"
onclick="window.open(setit.options[setit.selectedIndex].value)">
</select>
</p>

</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top