Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to invisible scrollbar in select box in mozilla

Reply
Thread Tools

How to invisible scrollbar in select box in mozilla

 
 
rajesh
Guest
Posts: n/a
 
      01-21-2006

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 ***
 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      01-21-2006
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)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Invisible - Succinic acid : (AMBER ACID) Invisible krithika.143@gmail.com C++ 0 04-14-2008 06:59 PM
select box without scrollbar rajesh Javascript 0 01-20-2006 01:13 PM
Mozilla : how to hide right scrollbar in a multiple select box ? Henri HTML 1 08-04-2004 06:54 AM
select of select box will select multiple in another box palmiere Javascript 1 02-09-2004 01:11 PM



Advertisments