Jump to content

using a drop-down box in Frontpage 2000 to go to a webpage


Douglas47
 Share

Recommended Posts

Hi everyone. I'm the new kid on the block. My name is Douglas.

 

In Frontpage 2000, you can create a drop-down box, and either specify a value, or not. There are two default buttons that get created under the box: Submit, and Reset.

 

I would like to go to a specific webpage when the user selects an item from the drop-down box, and clicks on "Submit."

 

The bare code looks like this: First one is without specifying a value, and in the second one, I specified a value equal to the webpage I want the user to go to:

 

<form method="POST" action="--WEBBOT-SELF--">

<!--webbot bot="SaveResults"

U-File="C:UsersDouglasDocumentsTest Websiteprivateform_results.txt"

S-Format=:TEXT/CSV" S-Label-Fields="TRUE" -->

<p> select size="1" name="D1">

<option>webpage1/<option>

<option>webpage2/<option>

<option>webpage3/<option>

</select>

<input type="submit" value="Submit" name="B1">

<input type="reset" value="Reset" name="B2"></p>

</form>

 

The second one is exactly the same, except each line that begins with <option> looks like:

 

<option value="webpage1.htm">webpage1</option>

 

Can anyone tell me what code to add, and where?

 

(p.s. next year I'm upgrading to WordPress!!!!)

 

Thanks,

Douglas

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...