5 ms·
I've been meaning to implement this one for some time: http://tutorialzine.com/2011/02/converting-jquery-code-plugin/ http://tutorialzine.com/2011/02/converting
by kerryfalk 15y ago
I've been meaning to implement this one for some time: http://tutorialzine.com/2011/02/converting-jquery-code-plugin/ http://tutorialzine.com/2011/02/converting-jquery-code-plugi...
It also allows images and degrades to pure select elements if necessary.
It doesn't allow for keyboard navigation (which is nice) but are there other benefits of DropKick that I'm overlooking in my quick glance?
The reason I haven't updated my select elements to these is because there are several cases on my site that a select will appear or disappear when the user engages with other parts of the site and the above code doesn't check for the visible state of the parent element. Any chance that's in your pipeline? I think it would make it more usable for modern sites (But maybe I'm the only one who frequently hides/shows select elements?).
Other than that, I like this. Thanks for putting it out there.
- Sabazou 15y agoThanks for the feedback! My goal with DropKick was to create a simple, lightweight select replacement that made designing awesome looking forms easier. I mostly want to keep it simple and light, but I like your idea. I'm currently hoping to add more interaction with DropKick such as changing the open/close animation or getting notified when the template renders.