From e62d87966dcf1d396fa84ed43bbf2c70dc3f100f Mon Sep 17 00:00:00 2001 From: Curt Kirkhoff Date: Wed, 23 May 2012 12:33:50 -0400 Subject: [PATCH 1/6] New feature: Key search on dropkick select boxes. When focus is on a select box, you can type a string of different letters, or a series of one letter to select the desired option only using your keyboard. This feature exists in most browsers by default on regular select boxes. --- jquery.dropkick-1.0.0.js | 796 +++++++++++++++++++++------------------ 1 file changed, 431 insertions(+), 365 deletions(-) mode change 100644 => 100755 jquery.dropkick-1.0.0.js diff --git a/jquery.dropkick-1.0.0.js b/jquery.dropkick-1.0.0.js old mode 100644 new mode 100755 index b8f75a5c..63c7e4e4 --- a/jquery.dropkick-1.0.0.js +++ b/jquery.dropkick-1.0.0.js @@ -6,401 +6,467 @@ * * © 2011 Jamie Lottering * - * + * + * Bug fixes by owenallenaz + * https://github.com/owenallenaz/DropKick + * + * 'Key Search' update by Curt Kirkhoff + * https://github.com/kirkhoff/DropKick */ (function ($, window, document) { - var ie6 = false; - - // Help prevent flashes of unstyled content - if ($.browser.msie && $.browser.version.substr(0, 1) < 7) { - ie6 = true; - } - - var - // Public methods exposed to $.fn.dropkick() - methods = {}, - - // Cache every element - $select = $(this), - - // Store a reference to the originally selected