want to extend drop down menu

Discussion in 'PHP' started by login, Dec 30, 2007.

  1. #1
    Is there a standard code or something I can use to extend my drop down menu to show all choises? Now its showing only 19 of 25 choises, the last 6 you have to scroll to see. How can I fix this.

    Thanks :) Green to good answers:)
     
    login, Dec 30, 2007 IP
  2. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If by drop down you mean the standard "select" html element, then there is nothing you can do about it.
    Every browser renders it differently, (depending on position of the element) IE7 is showing ca. 30 items, FF2 ca. 20. You can set it's size attribut to higher number which will cause drop down to be rendered as listbox with the visible number of items you specified as size, but that way you loose drop down behavior and you probably don't want that.
    AFAIK your only option would be to find custom coded script which uses either flash or javascript/dhtml to render it's own, customized dropdown.
     
    hogan_h, Dec 30, 2007 IP
  3. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Thanks a lot hogan_h, will give you green again when I can :)
     
    login, Dec 30, 2007 IP