User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 392,045 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,279 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 1175 | Replies: 4
Reply
Join Date: Dec 2007
Posts: 336
Reputation: OmniX is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
OmniX's Avatar
OmniX OmniX is offline Offline
Posting Whiz

How to create a scrolling combo box?

  #1  
Jun 2nd, 2008
I would like to create a scrolling combo box.

By which I mean.

<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
</select>

Should appear as just 1 option (so maybe size="1') and then once clicked it expands with the options with a scrollbar which only 3 options shown and you scroll to see the rest of the options.

Hopefully you understand what I mean?

Thanks, Regards X

Note: Not sure if this requires just html but I heard requires javascript, Thanks.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2008
Location: PLANET EARTH
Posts: 33
Reputation: Dannyo329 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 2
Dannyo329's Avatar
Dannyo329 Dannyo329 is offline Offline
Light Poster

Re: How to create a scrolling combo box?

  #2  
Jun 4th, 2008
For these type of menus and stuff, its best to use javascript. Even though I don't know alot of javascript, I'd recommend it. Try Google and search how to do that. Although I have never heard of what you just said, so what?! Give it a go and try.
Greetings Earthlings, I am your PROGRAMMER.
Reply With Quote  
Join Date: Jul 2008
Posts: 1
Reputation: tigersubu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
tigersubu tigersubu is offline Offline
Newbie Poster

Re: How to create a scrolling combo box?

  #3  
Jul 5th, 2008
I had used a very useful code for this purpose. Try the following links for the code:

html editable dropdown at http://chakrabarty.com/pp_editable_dropdown.html

or

html combobox at http://chakrabarty.com/combobox.html
Last edited by tigersubu : Jul 5th, 2008 at 10:00 pm.
Reply With Quote  
Join Date: Dec 2007
Posts: 336
Reputation: OmniX is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
OmniX's Avatar
OmniX OmniX is offline Offline
Posting Whiz

Re: How to create a scrolling combo box?

  #4  
Jul 5th, 2008
I was looking for a list with 20 items.

And it would only display 5 items.

The rest would be viewed by using a scrollbar inside the drop down menu.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 104
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: How to create a scrolling combo box?

  #5  
Jul 7th, 2008
Must menus be so complicated and time consuming to use??? Just display a fixed list of 20 items.
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 11:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC