Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

very cool javascript/dhtml site 2

Status
Not open for further replies.

jaredn

Programmer
Sep 1, 1999
1,506
US
everyone should take a look at:


It has some very nice advanced javascript articles and some really cool widgets, including my first addition to the webfx widget set, a dhtml ComboBox. jared@aauser.com
 
please let me know what you folks think about it... jared@aauser.com -
 
Hi!

I think it's a GREAT site! I was just looking for a good ComboBox. And voila! There was a link to one right in front of me! I love it! It was just exactly what we were looking for!

Thanks for the link,
Evie
 
let me know what bugs you run into with it, because I just created it and not too many people are testing it. jared@aauser.com -
 
Ok. I could not help u out after all your help for me.
:)
Well, Jared, it's designed nicely, and a great idea.
It's a great thing to use.

Bugs(?)- I don't know if it's ment to be, but:

1. when trying to remove an item it asks for the index. It's best to change the "show value" to "show index".

If you insert text to the combo box,and then press "show value" it shows u the text.(When picking from list, it shows the index).

2. When u add item, and insert the value in the script prompt, it gives u again the same prompt,as I I should add another item details to add.
U can cacel it.

I really liked the way the buttons and combo box r designed.

I tested it using ie 5.5.
I have NS6. So if u don't, I can check it for u too, using ns6.
 
I saw the site before the recent updates. It looks great, but it runs a little slower than before.

Also, I'd really like to see your examples and the site working in IE and NS, but that a pretty tall order.

-tleish
 
it does... NS6. NS4 isn't even close to standards compliant... so, they dont get supported. adam@aauser.com
 
thanks for your response avivit. The test interface is not meant to be fool-proof, but the methods themselves are. If you download the object and play with the actual methods instead of the test buttons, those problems should be eliminated.

Also, just as a select box has the option to show a user one thing and store another value, so does the combo box. For instance, it my show the user "Florida" but the value is "FL". When you click show value, it is showing the value I decided to put in, not the index.

Thanks again for your help :) jared@aauser.com -
 
Hello again,

I was wondering if there's a way to force the list to only show you x amount of the choices, allowing you to scroll through the rest.
Currently if you have 400 options in the comboBox it's going to drop down and show you all of them, right off the edge of the page, until you start typing telling it to narrow it down. Could we only see, oh, 10 of the 400 with a scroll bar along the side?
I'm not sure how I need to change the code to add this.

Thanks!
Evie
 
that's one of the enhancements I am currently working on. Also, I am ironing out some NS6 bugs, and it should work in NS6/mozilla soon. jared@aauser.com -
 
If you want send me an email, and I'll send you updates as to what new features are available and when.. jared@aauser.com -
 
Yes this is me digging up and old thread. I am looking for the same functionality as earme asked for - displaying only a few items and allowing for scrolling to see the rest. Does anyone know how to accomplish this?
 
<select ..... size="10">


this will allow u to have a scorll at the right. have i understood ur problem correctly???

Known is handfull, Unknown is worldfull
 
vbkris - not totally. We are not talking about a regular <SELECT> box here. It is a DHTML combobox. Somewhere within the JavaScript or CSS I am hoping there are some things we can adjust to make the combobox be limited in what it displays and use a scrollbar.

Any other thoughts?
 
setting css "overflow:scroll;" on the display element should do it


=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
 
jemminger - that's half of it. I finally figured it out this afternoon.

I actually set overflow to Auto and then gave the css class for the combobox list a height in pixels. The combo of those two things gave me the effect I wanted, the list has more than 30 options, but only the first 7 are displayed and you can scroll to get to the others.

Thanks!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top