Link to home
Start Free TrialLog in
Avatar of york_wines
york_wines

asked on

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?
Avatar of bs316
bs316

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>



Avatar of york_wines

ASKER

Thanks a lot it works perfectly!!!!

ASKER CERTIFIED SOLUTION
Avatar of bs316
bs316

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Adjusted points to 200