I just noticed something, you'll need to take our the
window.location.href = "customize?" + url[i+1];
and use
window.location.href = url[i+1];
sorry
--- Mike Moore <mmoorree4444@y...> wrote:
> This will go to a new page when the person makes a
> selection from the pulldown menu.
>
> this goes in the head
>
> <SCRIPT LANGUAGE = "JavaScript">
> function MakeArray()
> {
> this.length = MakeArray.arguments.length
> for (var i = 0; i < this.length; i++)
> this[i+1] = MakeArray.arguments[i]
> }
>
> var url = new MakeArray("",
> "page_01.html",
> "page_02.html",
> "page_03.html");
>
> function jumpPage(form) {
> i = form.SelectMenu.selectedIndex;
> if (i == 0) return;
> window.location.href = "customize?" +
> url[i+1];
> }
>
> </SCRIPT>
>
> this goes in the Body
>
> <FORM>
> <SELECT NAME="SelectMenu"
> onChange="jumpPage(this.form)">
> <OPTION>Select One:
> <OPTION>Go To Page One
> <OPTION>Go To Page Two
> <OPTION>Go To Page Three
> </SELECT>
> </FORM>
>
>
> > > hi,
> > > does anyone know how to change the page, like a
> > link
> > > does, without opening
> > > a new window. i have a drop down list, once
> > someone
> > > selects something
> > > from it and clicks a button i want the page to
> > > navigate to the one
> > > selected, not open up another window.
> > > thanks.
> > $subst('Email.Unsub').
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Sports - Coverage of the 2002 Olympic Games
> > http://sports.yahoo.com
> >
> $subst('Email.Unsub').
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - Coverage of the 2002 Olympic Games
> http://sports.yahoo.com
>
$subst('Email.Unsub').
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com