Auto Drop down a Drop Down List

Discussion in 'Javascript' started by xxbmichae1@supergambler.com, Nov 22, 2005.

  1. Guest

    Is there a way to get a drop down list to automatically drop down on
    focus?

    Thanks!

    Michael
     
    , Nov 22, 2005
    #1
    1. Advertising

  2. Bonzo Guest

    AFAIK, No.
     
    Bonzo, Nov 22, 2005
    #2
    1. Advertising

  3. Randy Webb Guest

    Randy Webb, Nov 22, 2005
    #3
  4. McKirahan Guest

    "" <> wrote in message
    news:...
    > Is there a way to get a drop down list to automatically drop down on
    > focus?
    >
    > Thanks!
    >
    > Michael
    >


    No, but you can set " size=" to the number of rows you want.
     
    McKirahan, Nov 22, 2005
    #4
  5. Matt Kruse Guest

    wrote:
    > Is there a way to get a drop down list to automatically drop down on
    > focus?


    No, as others have said.

    One possibility, though, is when it gets focus you can change it to
    position:absolute, and then change the .size to the number of options. This
    will make it float above other content and appear to be fully expanded. When
    the selection changes, you can set it back to position:static and .size=1 to
    make it look like it did before.

    --
    Matt Kruse
    http://www.JavascriptToolbox.com
    http://www.AjaxToolbox.com
     
    Matt Kruse, Nov 22, 2005
    #5
  6. Guest

    Thanks for the idea!
     
    , Nov 23, 2005
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. weiwei
    Replies:
    0
    Views:
    1,049
    weiwei
    Jan 5, 2007
  2. C10B
    Replies:
    11
    Views:
    932
    David Wier
    Mar 13, 2007
  3. linkswanted
    Replies:
    1
    Views:
    952
  4. Pradheep R.b

    Reg : Auto select Drop down list

    Pradheep R.b, Feb 10, 2010, in forum: Ruby
    Replies:
    3
    Views:
    411
    Raveendran Perumalsamy
    Feb 11, 2010
  5. Rob Meade
    Replies:
    1
    Views:
    155
    Randy Webb
    Jul 27, 2006
Loading...

Share This Page