/* * * jQuery listnav plugin * Copyright (c) 2009 iHwy, Inc. * Author: Jack Killpatrick * * Version 2.0 (03/02/2009) * Requires jQuery 1.3.2, jquery 1.2.6 or jquery 1.2.x plus the jquery dimensions plugin * * Visit http://www.ihwy.com/labs/jquery-listnav-plugin.aspx for more information. * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ (function($) { $.fn.listnav = function(options) { var opts = $.extend({}, $.fn.listnav.defaults, options); var letters = ['_','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',unescape("%E5"),unescape("%E4"),unescape("%F6")]; var firstClick = false; return this.each(function(){ var $wrapper, list, $list, $letters, $letterCount, id; id = this.id; $wrapper = $('#' + id + '-nav'); // user must abide by the convention: