PageSourceSearch

https://www.ite.org/ITEORG/includes/themes/MuraBootstrap3/podiTool…ml5-placeholder-shim.min.js?v=1789442516494

js ite.org collected 2026-09-24 08:56:19 UTC 2,237 bytes, 6 lines download raw bytes

1/*	"name": "jquery-html5-placeholder-shim",   
2    "description": "HTML5 Placeholder support for non compliant browsers using jQuery."
3    "homepage": "https://github.com/parndt/jquery-html5-placeholder-shim",   
4    "dependencies": {"jquery": ">=1.9.0"}
5  */
6!function(t){t.extend(t,{placeholder:{browser_supported:function(){return void 0!==this._supported?this._supported:this._supported=!!("placeholder"in t('<input type="text">')[0])},shim:function(e){var o={color:"#888",cls:"placeholder",selector:"input[placeholder], textarea[placeholder]"};return t.extend(o,e),!this.browser_supported()&&t(o.selector)._placeholder_shim(o)}}}),t.extend(t.fn,{_placeholder_shim:function(e){function o(e){var o=t(e).offsetParent().offset(),i=t(e).offset();return{top:i.top-o.top,left:i.left-o.left,width:t(e).width()}}function i(e){var n=e.data("target");"undefined"!=typeof n&&(e.css(o(n)),t(window).one("resize",function(){i(e)}))}return this.each(function(){var n=t(this);if(n.is(":visible")){if(n.data("placeholder")){var r=n.data("placeholder");return r.css(o(n)),!0}var s={};n.is("textarea")||"auto"==n.css("height")||(s={lineHeight:n.css("height"),whiteSpace:"nowrap"});var a="border-box"===n.css("box-sizing"),d=n.is("textarea"),l=t("<label />").text(n.attr("placeholder")).addClass(e.cls).css(t.extend({position:"absolute",display:"inline","float":"none",overflow:"hidden",textAlign:"left",color:e.color,cursor:"text",paddingTop:!d&&a?"0":n.css("padding-top"),paddingRight:n.css("padding-right"),paddingBottom:!d&&a?"0":n.css("padding-bottom"),paddingLeft:n.css("padding-left"),fontSize:n.css("font-size"),fontFamily:n.css("font-family"),fontStyle:n.css("font-style"),fontWeight:n.css("font-weight"),textTransform:n.css("text-transform"),backgroundColor:"transparent",zIndex:99},s)).css(o(this)).attr("for",this.id).data("target",n).click(function(){t(this).data("target").is(":disabled")||t(this).data("target").focus()}).insertBefore(this);n.data("placeholder",l).keydown(function(){l.hide()}).blur(function(){l[n.val().length?"hide":"show"]()}).triggerHandler("blur"),t(window).one("resize",function(){i(l)})}})}})}(jQuery),jQuery(document).add(window).bind("ready load",function(){jQuery.placeholder&&jQuery.placeholder.shim()});

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.