Re: selecting an option from a combo box

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Steve Easton (admin_at_95isalive.com)
Date: 09/28/04


Date: Tue, 28 Sep 2004 12:51:53 -0400

actually you want javascript not VB.
Try this:

<p align="center">
<select id="setit" Onchange="window(setit.options[setit.selectedIndex].value)">
<option selected>Select a page</option>
<option value="page1.htm">Page 1</option>
<option value="page2.htm">Page 2</option>
<option value="page3.htm">Page 3</option></select>
</p>

Edit the file names as appropriate.

-- 
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
.......................with a computer
"Philippe" <Philippe@discussions.microsoft.com> wrote in message
news:F95F4660-CD95-4205-8BEE-31FC5BA86391@microsoft.com...
> I am a novice to VB scripting and front page, here is my challenge:
> - I created a select tag and added several options to it
> -I did set one option as the selected one.
> I would like the user to go to another page after he/she clicks the selected
> option.
> Please advice.
> P.S.
> I did use the comboname_onselectstart event but it is not working as expected.
> Thank you for your help.
>


Relevant Pages

  • Re: Edit Pages Button in IE
    ... "Steve Easton" wrote in message ... | Microsoft MVP FrontPage ... | "John Kisha" wrote in message ... Edit Pages Button in IE ...
    (microsoft.public.frontpage.client)
  • Re: Link Issue
    ... If I have to redo every picture, ... you'll have to edit each one. ... |> Steve Easton ... |> Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.programming)
  • Re: Long load times using Front page
    ... One more thing I always do is: if I want to edit the "published" version on the server I always ... > "Steve Easton" wrote in message ... >> Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.client)
  • Re: making a new page and changing locations of pages
    ... open new and edit and then just Save. ... >>Steve Easton ... >>Microsoft MVP FrontPage ... >>> my website using a template from an existing page in my ...
    (microsoft.public.frontpage.client)
  • Re: making an enewsletter in FP?
    ... "Steve Easton" wrote in message ... click Source edit and then click the> Source tab at the bottom. ... >>> you're going to include images. ... >>> Microsoft MVP FrontPage ...
    (microsoft.public.frontpage.client)