1/** 2* MediaQuery MultiDevice Template ver 0.1À 3* @Author: funnythingz 4* @Url: http://hiropo.co.uk 5* 6* jquery-jktab.js 7*/ 8(function($){ 9 $.fn.jktab = function(config){ 10 var defaults = { 11 } 12 var options=$.extend(defaults, config); 13 return this.each(function(i){ 14 var self = $(this); 15 var menu = $('.tabIndexMenu li', self); 16 var col = $('.tabIndexCol', self); 17 var showCol = function(eq){ 18 menu.removeClass('cur'); 19 menu.eq(eq).addClass('cur'); 20 col.stop(true, true).fadeOut(); 21 col.eq(eq).stop(true, true).fadeIn(); 22 } 23 menu.css({ 24 display: 'block', 25 float: 'left', 26 whiteSpace: 'nowrap' 27 }); 28 showCol(0); 29 for( var i = 0, L = menu.length; i < L; i++ ){ 30 menu.eq(i).bind('click', i, function(e){ 31 showCol(e.data); 32 }); 33 } 34 }); 35 }; 36})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.