Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 17th, 2004, 04:37 PM
Registered User
 
Join Date: Feb 2004
Location: RIo de Janeiro, Rio de Janeiro, Brazil.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default HTML select

Hello,
I wanna know if there is a way to show horizontal scrollbar in a simple HTML select object.

thank's

adolfosalespacheco
Reply With Quote
  #2 (permalink)  
Old February 18th, 2004, 12:42 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

i havent seen anything like this.

Always:),
Hovik Melkomian.
Reply With Quote
  #3 (permalink)  
Old February 18th, 2004, 08:23 AM
Registered User
 
Join Date: Feb 2004
Location: RIo de Janeiro, Rio de Janeiro, Brazil.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the idea is:
I have a fixed-length list and, when appears an option larger than the list length the user can see all option text. if it's possible please send me an answer

adolfosalespacheco
Reply With Quote
  #4 (permalink)  
Old February 18th, 2004, 08:27 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You could always use a div with a style of overflowY set to auto.

--

Joe
Reply With Quote
  #5 (permalink)  
Old February 18th, 2004, 08:35 AM
Registered User
 
Join Date: Feb 2004
Location: RIo de Janeiro, Rio de Janeiro, Brazil.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i'm using two selects and i add items from one to other, so i don't know if using a div i get the same function.

adolfosalespacheco
Reply With Quote
  #6 (permalink)  
Old February 18th, 2004, 09:34 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well obviously you'd have to write quite a bit of code for this to function. Unfortunately the option element doesn't support the title attribute which would let you see all the text.
It seems like you have two choices, make the select box big enough to see all the text or create your own select box using a div...

--

Joe
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
html:select scrollbar somsahi Struts 0 July 24th, 2006 05:53 PM
html:select aytacakin Struts 1 December 23rd, 2005 11:19 AM
html:select aytacakin Pro JSP 0 November 15th, 2005 04:58 AM
html:select aytacakin Pro JSP 0 November 14th, 2005 09:47 AM
html:select aytacakin J2EE 0 November 14th, 2005 09:46 AM



All times are GMT -4. The time now is 11:23 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.