Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

remove the scroolbars from list

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have created a <select> list where the size = 20.
<select name="findLookupList" size="20" tabindex="1">
My number of items in the list can exceed 200. For reasons that are too long to explain, I have created my own custom scrollbar off to the side of the list which works just fine. However I would like to hide or remove the scrollbar on the select list so the operator uses just MY SCROOLBAR. Is this possible? Disabling the toolbar is not completely valid because I need to allow my operators to select items in the list so I need to make the scrollbar not appear in the first place.
Thanks,
Joe Crew
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe
I don't think you can get rid of the scroll bars froma select list. If you can it is probably browser specific so it may not work across the board. The other consideration is who is the audience for your page? Where I work we are going through a major overhaul of EVERY page on our intranet to make sure they can be used for people with things like screen readers, brail readers, etc. Will any of your users ever have/need one of those? will your scroll bar work with them?
sorry I can't be of more help

Dave
you might wnat to try microsoft and netscapes sites and doa search on their browsers and scroll bars.
 
Joe Crew
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave,
Thanks for your response. My web pages are actually part of an embedded program for a very specific private market internet type device. The interface is being designed as a web browser where Netscape will not be used at all and IE will be only used as a remote administrative tool. I will completely control the presentation, look, and feel for the web pages that will be displayed in another web browser that hardly anyone has heard of but we get the source code for it and it's in java. Because of who my end users will be I am allowed to create any rules I want in the display. I created my own larger scroll buttons (which I have already done) because my device also has a touch screen and the regular scroll bars are too small on touch screen (with the resolution I have to work with). Now that I have created my own buttons to scroll I want to remove the regular small ones but I didn't think I could remove them. Thanks for your answer.
As a side note, I could use something else besides a select list, but I would have to be able to select items in it and have typical events like onClick occur and be able to have some of the select list properties like .selectedIndex, .length, and .size. This is why I don't think I can use a DIV block either beucase I think I would lose these properties. So if anyone else has any other ideas fire away.
Thanks,
Joe Crew
 
Ranch Hand
Posts: 301
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe, I have a similar situation in that I've created a private, market specific page. I also have an option that requires the user to select an option from a long list and return a value. I put the values in their own popup window instead of a select list. You can control all of the elements of the window, including whether or not the scrollbars display.
Normally I would avoid a popup window, but in this application it was the appropriate solution. Just an idea for you.

------------------
I'm a soldier in the NetScape Wars...
Joel
 
Joe Crew
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joel,
Thank you. This is something I really did not consider and may end up giving me more options that I didn't even think I had. Thanks alot.
Joe
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic