1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10/** 11 * -------------------------------------------------------------------- 12 * jQuery-Plugin "pngFix" 13 * Version: 1.1, 11.09.2007 14 * by Andreas Eberhard, [email protected] 15 * http://jquery.andreaseberhard.de/ 16 * 17 * Copyright (c) 2007 Andreas Eberhard 18 * Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php) 19 * 20 * Changelog: 21 * 11.09.2007 Version 1.1 22 * - removed noConflict 23 * - added png-support for input type=image 24 * - 01.08.2007 CSS background-image support extension added by Scott Jehl, [email protected], http://www.filamentgroup.com 25 * 31.05.2007 initial Version 1.0 26 * -------------------------------------------------------------------- 27 * @example $(function(){$(document).pngFix();}); 28 * @desc Fixes all PNG's in the document on document.ready 29 * 30 * jQuery(function(){jQuery(document).pngFix();}); 31 * @desc Fixes all PNG's in the document on document.ready when using noConflict 32 * 33 * @example $(function(){$('div.examples').pngFix();}); 34 * @desc Fixes all PNG's within div with class examples 35 * 36 * @example $(function(){$('div.examples').pngFix( { blankgif:'ext.gif' } );}); 37 * @desc Fixes all PNG's within div with class examples, provides blank gif for input with png 38 * -------------------------------------------------------------------- 39 */ 40 41(function($) { 42 43jQuery.fn.pngFix = function(settings) { 44 45 // Settings 46 settings = jQuery.extend({ 47 blankgif: 'blank.gif' 48 }, settings); 49 50 var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1); 51 var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1); 52 53 if (jQuery.browser.msie && (ie55 || ie6)) { 54 55 //fix images with png-source 56 jQuery(this).find("img[@src$=.png]").each(function() { 57 58 jQuery(this).attr('width',jQuery(this).width()); 59 jQuery(this).attr('height',jQuery(this).height()); 60 61 var prevStyle = ''; 62 var strNewHTML = ''; 63 var imgId = (jQuery(this).attr('id')) ? 'id="' + jQuery(this).attr('id') + '" ' : ''; 64 var imgClass = (jQuery(this).attr('class')) ? 'class="' + jQuery(this).attr('class') + '" ' : ''; 65 var imgTitle = (jQuery(this).attr('title')) ? 'title="' + jQuery(this).attr('title') + '" ' : ''; 66 var imgAlt = (jQuery(this).attr('alt')) ? 'alt="' + jQuery(this).attr('alt') + '" ' : ''; 67 var imgAlign = (jQuery(this).attr('align')) ? 'float:' + jQuery(this).attr('align') + ';' : ''; 68 var imgHand = (jQuery(this).parent().attr('href')) ? 'cursor:hand;' : ''; 69 if (this.style.border) { 70 prevStyle += 'border:'+this.style.border+';'; 71 this.style.border = ''; 72 } 73 if (this.style.padding) { 74 prevStyle += 'padding:'+this.style.padding+';'; 75 this.style.padding = ''; 76 } 77 if (this.style.margin) { 78 prevStyle += 'margin:'+this.style.margin+';'; 79 this.style.margin = ''; 80 } 81 var imgStyle = (this.style.cssText); 82 83 strNewHTML += '<span '+imgId+imgClass+imgTitle+imgAlt; 84 strNewHTML += 'style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+imgAlign+imgHand; 85 strNewHTML += 'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'; 86 strNewHTML += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(sr
86c=\'' + jQuery(this).attr('src') + '\', sizingMethod=\'scale\');'; 87 strNewHTML += imgStyle+'"></span>'; 88 if (prevStyle != ''){ 89 strNewHTML = '<span style="position:relative;display:inline-block;'+prevStyle+imgHand+'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'+'">' + strNewHTML + '</span>'; 90 } 91 92 jQuery(this).hide(); 93 jQuery(this).after(strNewHTML); 94 95 }); 96 97 // fix css background pngs 98 jQuery(this).find("*").each(function(){ 99 var bgIMG = jQuery(this).css('background-image'); 100 if(bgIMG.indexOf(".png")!=-1){ 101 var iebg = bgIMG.split('url("')[1].split('")')[0]; 102 jQuery(this).css('background-image', 'none'); 103 jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + iebg + "',sizingMethod='scale')"; 104 } 105 }); 106 107 //fix input with png-source 108 jQuery(this).find("input[@src$=.png]").each(function() { 109 var bgIMG = jQuery(this).attr('src'); 110 jQuery(this).get(0).runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + bgIMG + '\', sizingMethod=\'scale\');'; 111 jQuery(this).attr('src', settings.blankgif) 112 }); 113 114 } 115 116 return jQuery; 117 118}; 119 120})(jQuery); 121 122} 123 124/* 125 FILE ARCHIVED ON 22:05:00 May 28, 2020 AND RETRIEVED FROM THE 126 INTERNET ARCHIVE ON 13:33:35 May 24, 2026. 127 JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. 128 129 ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. 130 SECTION 108(a)(3)). 131*/ 132/* 133playback timings (ms): 134 capture_cache.get: 27.211 135 load_resource: 69.483 136 PetaboxLoader3.resolve: 56.037 137 PetaboxLoader3.datanode: 12.288 138*/
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.