Drop Down Box

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Griffin

    Drop Down Box

    I would like to have a drop down box where when the user selects one of the
    choices, it automatically loads another page. I want this to be a one stop
    select and go. No submit or OK button. Just drop down, select the page and
    off it loads. Is this possible with JS?

    Thanks in Advance

    Mike
    (Who is a newbie)

    --


    ----------------------------------------------------
    This mailbox protected from junk email by MailFrontier Desktop
    from MailFrontier, Inc. http://info.mailfrontier.com


  • David Dorward

    #2
    Re: Drop Down Box

    Mike Griffin wrote:
    [color=blue]
    > I would like to have a drop down box where when the user selects one of
    > the choices, it automatically loads another page.[/color]



    --
    David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
    Home is where the ~/.bashrc is

    Comment

    • Andrew Thompson

      #3
      Re: Drop Down Box

      On Thu, 26 Aug 2004 17:40:14 -0500, Mike Griffin wrote:
      [color=blue]
      > I would like to have a drop down box where when the user selects one of the
      > choices, it automatically loads another page.[/color]

      What does the user want?

      --
      Andrew Thompson
      http://www.PhySci.org/ Open-source software suite
      http://www.PhySci.org/codes/ Web & IT Help
      http://www.1point1C.org/ Science & Technology

      Comment

      • Mick White

        #4
        Re: Drop Down Box

        Mike Griffin wrote:
        [color=blue]
        > I would like to have a drop down box where when the user selects one of the
        > choices, it automatically loads another page. I want this to be a one stop
        > select and go. No submit or OK button. Just drop down, select the page and
        > off it loads. Is this possible with JS?
        >
        > Thanks in Advance
        >
        > Mike
        > (Who is a newbie)
        >[/color]
        Yes, but a poor UI implementation, what if the user makes a mistake?

        < select... onchange="locat ion=this[this.selectedIn dex].value">
        <option value="index.ht ml">home</option>
        ....

        Mick

        Comment

        • Michael Winter

          #5
          Re: Drop Down Box

          On Thu, 26 Aug 2004 23:13:29 GMT, Mick White
          <mwhite13@BOGUS rochester.rr.co m> wrote:

          [auto-navigating select box]
          [color=blue]
          > Yes, but a poor UI implementation, what if the user makes a mistake?[/color]

          Or what if I want to, or even have to, use my keyboard or mouse wheel to
          scroll through the list?

          [snip]

          Mike

          --
          Michael Winter
          Replace ".invalid" with ".uk" to reply by e-mail.

          Comment

          • Mike Griffin

            #6
            Re: Drop Down Box

            Point taken, I scrapped the idea. However, the code that David pointed to
            was really useful.

            Thanks!
            Mike


            --


            ----------------------------------------------------
            This mailbox protected from junk email by MailFrontier Desktop
            from MailFrontier, Inc. http://info.mailfrontier.com

            "Mick White" <mwhite13@BOGUS rochester.rr.co m> wrote in message
            news:t8uXc.4746 6$Kt5.14672@twi ster.nyroc.rr.c om...[color=blue]
            > Mike Griffin wrote:
            >[color=green]
            > > I would like to have a drop down box where when the user selects one of[/color][/color]
            the[color=blue][color=green]
            > > choices, it automatically loads another page. I want this to be a one[/color][/color]
            stop[color=blue][color=green]
            > > select and go. No submit or OK button. Just drop down, select the page[/color][/color]
            and[color=blue][color=green]
            > > off it loads. Is this possible with JS?
            > >
            > > Thanks in Advance
            > >
            > > Mike
            > > (Who is a newbie)
            > >[/color]
            > Yes, but a poor UI implementation, what if the user makes a mistake?
            >
            > < select... onchange="locat ion=this[this.selectedIn dex].value">
            > <option value="index.ht ml">home</option>
            > ...
            >
            > Mick[/color]


            Comment

            Working...