1jQuery.fn.labelOver = function(overClass) { 2 return this.each(function(){ 3 var label = jQuery(this); 4 var f = label.attr('for'); 5 if (f) { 6 var input = jQuery('#' + f); 7 8 this.hide = function() { 9 label.css({ textIndent: -10000 }) 10 } 11 12 this.show = function() { 13 if (input.val() == '') label.css({ textIndent: 0 }) 14 } 15 16 // handlers 17 input.focus(this.hide); 18 input.blur(this.show); 19 label.addClass(overClass).click(function(){ input.focus() }); 20 21 if (input.val() != '') this.hide(); 22 } 23 }) 24}
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.