How do I use drop down menu to change pages

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use a drop down style menu to list all the pages on my site..
Then once one is selected from the menu the button would say "Go" and you
would click it to go to that page.. Can this be done! When I try to do this
I get the button text on and all my pages listed but then it wants to submit
it into some kind of form.. I just want it to follow a link!
 
Look into Behaviors. (Format | Behaviors).

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
It is using the html form elements......if you're using the "jump menu"
behaviour in FP2003, then you should be fine - clicking the "go" button just
takes the user to the page they selected, it is not sending anything
anywhere.
 
Like this. Change the urls to reflect your pages file names.
Simply add more option lines to add more pages.

<p align="center"><b>Select a Page </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)">
</p></form>

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

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