How to invisible scrollbar in select box in mozilla

Discussion in 'Javascript' started by rajesh, Jan 21, 2006.

  1. rajesh

    rajesh Guest

    How to invisible the scrollbar in select box OR Drop down box in
    mozilla.


    <SELECT NAME="list2" id="list2" MULTIPLE SIZE=20 style="width:100px;">
    <OPTION VALUE="One">One</OPTION>
    <OPTION VALUE="Two">Two</OPTION>
    <OPTION VALUE="Three">Three</OPTION>
    <OPTION VALUE="Four">Four</OPTION>
    <OPTION VALUE="Five">Five</OPTION>
    <OPTION VALUE="Six">Six</OPTION>

    </SELECT>

    *** Sent via Developersdex http://www.developersdex.com ***
     
    rajesh, Jan 21, 2006
    #1
    1. Advertisements

  2. rajesh

    Evertjan. Guest

    rajesh wrote on 21 jan 2006 in comp.lang.javascript:

    > How to invisible the scrollbar in select box OR Drop down box in
    > mozilla.
    >
    >
    > <SELECT NAME="list2" id="list2" MULTIPLE SIZE=20 style="width:100px;">
    > <OPTION VALUE="One">One</OPTION>
    > <OPTION VALUE="Two">Two</OPTION>
    > <OPTION VALUE="Three">Three</OPTION>
    > <OPTION VALUE="Four">Four</OPTION>
    > <OPTION VALUE="Five">Five</OPTION>
    > <OPTION VALUE="Six">Six</OPTION>
    >
    > </SELECT>


    In IE6 the scrollbar is absent, in FF it is present but empty.

    That's the way it is, <select> is ment(!!!) to be scrolled.

    Better use input-radio selection.

    Try:

    <div style='border:1px solid black;width:150px;padding-left:20px;'>
    <input type='radio' name='list2' value='One' checked> One<br>
    <input type='radio' name='list2' value='Two'> Two<br>
    <input type='radio' name='list2' value='Three'> Three<br>
    <input type='radio' name='list2' value='Four'> Four<br>
    <input type='radio' name='list2' value='Five'> Five<br>
    <input type='radio' name='list2' value='Six'> Six<br>
    </div>


    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
     
    Evertjan., Jan 21, 2006
    #2
    1. Advertisements

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. Henri
    Replies:
    1
    Views:
    4,332
    brucie
    Aug 4, 2004
  2. Gnarlodious
    Replies:
    4
    Views:
    17,992
    elizas
    May 5, 2010
  3. Andy B
    Replies:
    5
    Views:
    824
    Andy B
    May 29, 2008
  4. Alex

    ScrollBar? Does it exist just WEB ScrollBar Control?

    Alex, Apr 1, 2004, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    469
    Alvin Bruney [MVP]
    Apr 4, 2004
  5. Robin
    Replies:
    2
    Views:
    324
    Robin
    Apr 9, 2004
  6. palmiere
    Replies:
    1
    Views:
    684
    Erwin Moller
    Feb 9, 2004
  7. rajesh

    select box without scrollbar

    rajesh, Jan 20, 2006, in forum: Javascript
    Replies:
    0
    Views:
    258
    rajesh
    Jan 20, 2006
  8. Arnaud Diederen
    Replies:
    2
    Views:
    165
    Martin Honnen
    Aug 1, 2006
Loading...