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.
Seeking jQuery-Based Listbox Replacement
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Seeking jQuery-Based Listbox Replacement
Can you take a screen shot?
- volomike
- Forum Regular
- Posts: 633
- Joined: Wed Jan 16, 2008 9:04 am
- Location: Myrtle Beach, South Carolina, USA
Re: Seeking jQuery-Based Listbox Replacement
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.jaoudestudios wrote:Can you take a screen shot?
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.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Seeking jQuery-Based Listbox Replacement
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
Most jQuery plugins can be themed pretty easily - it's just a matter of rewriting the CSS & any images.volomike wrote:I see about 3 out there, but most have themes I find disagreeable.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
- JAB Creations
- DevNet Resident
- Posts: 2341
- Joined: Thu Jan 13, 2005 6:44 pm
- Location: Sarasota Florida
- Contact:
Re: Seeking jQuery-Based Listbox Replacement
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
Almost certain he means a "pulldown" or a <select> box.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.