drop-down menus

Using Frontpage 98, how do you create a drop-down menu in a frame that lets you choose an option, without having to click a seperate button, and then opens the selected page in another frame?
york_winesAsked:
Who is Participating?
 
bs316Connect With a Mentor Commented:
now you can give me my points

thanks
0
 
bs316Commented:
if you think this is work for you then i will post another message as answer to collect the points so you question still remain free.

put the code below in your side frame or top frame or wherever

the viewer frame must be call * main * else you got to change the parent.^yournamehere^.location.href
-----------------------------------------------------------------

<head><script LANGUAGE="JavaScript">
              <!--- Hide from tired old browsers
              function jumpBox(list) {parent.main.location.href = list.options[list.selectedIndex].value}
              // end hiding --->
</script>

<title>Any Title You Want Here</title>
<base target="main">
</head>

<!-- put the form section inside the body of html //-->

<form>
  <p><select size="1" onChange="jumpBox(this.form.elements[0])">
    <option value="yourtarget.htm">Target</option>
     </select></p>
</form>



0
 
york_winesAuthor Commented:
Thanks a lot it works perfectly!!!!

0
 
york_winesAuthor Commented:
Adjusted points to 200
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.