Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: Drop down list hyperlinks


Message #1 by "mark collins" <mark.collins@c...> on Sun, 1 Oct 2000 21:23:31 +0100
To Mark
Do you meen a jump menu, where as soon as you click on an option you go to
that URL? Like this:
<form name="form1">
  <select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
    <option value="page1.htm" selected>page1</option>
    <option value="page2.htm">page2</option>
    <option value="page3.htm">page3</option>
  </select>
</form>

Abbie
----- Original Message -----
From: "mark collins" <mark.collins@c...>
To: "HTML Code Clinic" <html_code_clinic@p...>
Sent: Sunday, October 01, 2000 9:23 PM
Subject: [html_code_clinic] Drop down list hyperlinks


> Hi All,
>  I was wondering if it was possible to create a drop down list where all
> the choices were hyperlinks, such as
>
> <OPTION value=page1><A href="page1.htm"> Page 1 </a></OPTION>
> <OPTION value=page1><A href="page2.htm"> Page 2 </a></OPTION>
> <OPTION value=page1><A href="page3.htm"> Page 3 </a></OPTION>
>
> this doesn't saeem to work, but I'm sure you get the idea?
>
> any ideas?
>
> or is there a way to choose which page to go to when the submit button is
> pressed?
>
> thanks
>
> Mark
>
> ---
> To place your message here, or to sponsor this list, please e-mail
mailto:p2pinfo@w...?subject=MediaPack, remembering to provide contact
details for yourself. We will e-mail you a Media Pack within 24 hours.
> ---
>


  Return to Index