PageSourceSearch

https://www.binovamilano.it/wp-content/cache/min/1/wp-content/them…jquery.infieldlabel-0.1.4.js?ver=1781524874

js binovamilano.it collected 2026-10-08 12:11:41 UTC 2,478 bytes, 6 lines download raw bytes

1(function($){$.InFieldLabels=function(label,field,options){var base=this;base.$label=$(label);base.label=label;base.$field=$(field);base.field=field;base.$label.data("InFieldLabels",base);base.showing=!0;base.init=function(){var initialSet;base.options=$.extend({},$.InFieldLabels.defaultOptions,options);if(base.options.className){base.$label.addClass(base.options.className)}
2setTimeout(function(){if(base.$field.val()!==""){base.$label.hide();base.showing=!1}else{base.$label.show();base.showing=!0}},200);base.$field.focus(function(){base.fadeOnFocus()}).blur(function(){base.checkForEmpty(!0)}).bind('keydown.infieldlabel',function(e){base.hideOnChange(e)}).bind('paste',function(){base.setOpacity(0.0)}).change(function(){base.checkForEmpty()}).bind('onPropertyChange',function(){base.checkForEmpty()}).bind('keyup.infieldlabel',function(){base.checkForEmpty()});if(base.options.pollDuration>0){initialSet=setInterval(function(){if(base.$field.val()!==""){base.$label.hide();base.showing=!1;clearInterval(initialSet)}},base.options.pollDuration)}};base.fadeOnFocus=function(){if(base.showing){base.setOpacity(base.options.fadeOpacity)}};base.setOpacity=function(opacity){base.$label.stop().animate({opacity:opacity},base.options.fadeDuration,function(){if(opacity==0.0){base.$label.hide()}});base.showing=(opacity>0.0)};base.checkForEmpty=function(blur){if(base.$field.val()===""){base.prepForShow();base.setOpacity(blur?1.0:base.options.fadeOpacity)}else{base.setOpacity(0.0)}};base.prepForShow=function(){if(!base.showing){base.$label.css({opacity:0.0}).show();base.$field.bind('keydown.infieldlabel',function(e){base.hideOnChange(e)})}};base.hideOnChange=function(e){if((e.keyCode===16)||(e.keyCode===9)){return}
3if(base.showing){base.$label.hide();base.showing=!1}
4base.$field.unbind('keydown.infieldlabel')};base.init()};$.InFieldLabels.defaultOptions={fadeOpacity:0.5,fadeDuration:300,pollDuration:0,enabledInputTypes:["text","search","tel","url","email","password","number","textarea"],className:!1};$.fn.inFieldLabels=function(options){var allowed_types=options&&options.enabledInputTypes||$.InFieldLabels.defaultOptions.enabledInputTypes;return this.each(function(){var for_attr=$(this).attr('for'),field,restrict_type;if(!for_attr){return}
5field=document.getElementById(for_attr);if(!field){return}
6restrict_type=$.inArray(field.type,allowed_types);if(restrict_type===-1&&field.nodeName!=="TEXTAREA"){return}(new $.InFieldLabels(this,field,options))})}}(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.