Forum Moderators: open
Does anyone know how to implement this?
It must be done in javascript, and I'm no expert there. I tried to find the function in their code, but they make it extremely hard to read, so i gave up.
-Chris
Never done it myself, but here's one place claiming a sometimes functioning version:
[webreference.com...]
But in the end, these fine folks have set themselves out to accomplish something that was very different from the requirements I was working with.
Building out something equivalent to gmail's feature-set was orders of magnitude more complex than what these fine folks have accomplished.
If I was to try to write an article that'd match the thoroughness and fine editorial work by Nicholas C. Zakas, you'd be looking at a 20 page document, sure to put just about anyone to sleep ... my code currently weighs-in at about 400+ lines, 1000+ words, 13KB.
Perhaps eventually someone will do a really great drop-in script and release it to the public domain for the benefit of the less skilled (again, like me!), but until then ... gotta work with what's at hand. Maybe in a few years when I've got the skills, I'll be able to do that. :D
Within the limited domain of the requirements I was working with, cross-browser compatibility is decently achievable across KHTML/Gecko/Trident (Safari, *zilla, IE) rendering engines, without too much hacking.
When wondering about specific cross-engine DOM/CSS compatibilities issues, I like to check out Peter-Paul Koch's site at [quirksmode.org...] . He's done some very useful research.
simply looking up a value in a dropdown
Like this kind of thing:
[mattkruse.com...]
<added>
Actually would be a nice implementation since the user could also select from the dropdown directly. (Until of course there's more than 20-30 to choose from, then it would be much less usable.)
</added>
[geocities.com...]
I've created that using Overlib script (I don't know much about DHTML, plus that way is REALL cross-browser). I was looking for a "auto-complete list" or an "editable drop-down" or whatever you want to call it, for a long time.
This thing I put together seems to be working really nice (it even works w/ Netscape 6), but it still needs some improvements and fixes (Up and Down arrows worked a week ago, but I managed to ruin that).
Anyway, take a look, and if you are interested in helping me developing this widget, let me now. I dont visit this forum often, so please feel free to send me an email.
n1ck0s.
or the simple input autocomplete:
[momche.net...]