Page 1 of 1
Seeking jQuery-Based Listbox Replacement
Posted: Thu Mar 19, 2009 11:25 pm
by volomike
I'm seeking any links to a jQuery-based listbox replacement. I've searched on Google and Dogpile and haven't found one I liked so well yet.
I'd like to get one that sort of looks like what we see in FF when one doesn't style a listbox, but a little larger in size so as to match my tall textbox fields. Or, the new Gmail ones are sweet, but unfortunately Google isn't sharing that source yet.
Re: Seeking jQuery-Based Listbox Replacement
Posted: Fri Mar 20, 2009 1:00 am
by jaoudestudios
Can you take a screen shot?
Re: Seeking jQuery-Based Listbox Replacement
Posted: Fri Mar 20, 2009 1:45 am
by volomike
jaoudestudios wrote:Can you take a screen shot?
Pardon? I guess I don't understand. If you have FF3 installed, just look at how it draws its popdown listboxes when not styled. They are rounded on the edges and have a tasteful (not overdone) 3D appearance to them much like the Save, Preview, and Submit buttons of a phpBB post when editing a post. Also, if you have Gmail, and you look at the top of your inbox, there's also a popdown listbox that they have invented.
Basically the things work with either an image with text on top, or a styled DIV with text on top. When you use the keyboard or mouse, it acts like a regular listbox by popping up an inline DIV and may also use the overflow property to handle scrolling long lists. Unfortunately to build one of these is not easy because you have to account for what happens when the popdown is clicked and it goes below the viewport -- it needs to scroll the page as best as possible to show this, but not scroll to bottom of a long popdown list. It also has to react to arrow keys, escape key, tab key (with focus), and also revert back if clicked on the page anywhere but the listbox.
So, I'm not really wanting to build one from scratch in jQuery if I can find one already built on the web in a style I like. I see about 3 out there, but most have themes I find disagreeable.
Re: Seeking jQuery-Based Listbox Replacement
Posted: Fri Mar 20, 2009 2:30 am
by jaoudestudios
Ok I understand. If you could take a screen shot of an example of what you mean, it would help us all see exactly what you want. Could you post those links you found? If you dont agree with the themes could you not just modify the theme but use the functionality?
Re: Seeking jQuery-Based Listbox Replacement
Posted: Fri Mar 20, 2009 12:29 pm
by pickle
volomike wrote:I see about 3 out there, but most have themes I find disagreeable.
Most jQuery plugins can be themed pretty easily - it's just a matter of rewriting the CSS & any images.
Re: Seeking jQuery-Based Listbox Replacement
Posted: Mon Mar 23, 2009 12:43 pm
by JAB Creations
What the heck is a "listbox"?

I've never heard of any such term as far as standard XHTML
elements, CSS
properties, or JavaScript
objects/methods are concerned.
Re: Seeking jQuery-Based Listbox Replacement
Posted: Mon Mar 23, 2009 2:35 pm
by pickle
Almost certain he means a "pulldown" or a <select> box.