Lines Matching refs:src
22 IEPNGFix.fix = function(elm, src, t) {
23 // Applies an image 'src' to an element 'elm' using the DirectX filter.
24 // If 'src' is null, filter is disabled.
25 // Disables the 'hook' to prevent infinite recursion on setting BG/src.
32 src = (src || '').replace(/\(/g, '%28').replace(/\)/g, '%29');
35 src && !(/IMG|INPUT/.test(elm.nodeName) && (t != 2)) &&
53 elm.src = this.blankImg;
57 elm.filters[f].enabled = src ? true : false;
58 if (src) {
59 elm.filters[f].src = src;
61 } else if (src) {
62 elm.style.filter = 'progid:' + f + '(src="' + src +
86 evt = init ? { propertyName: 'src,backgroundImage' } : event,
87 isSrc = /src/.test(evt.propertyName),
111 if (isSrc && elm.src && { IMG: 1, INPUT: 1 }[elm.nodeName]) {
112 if ((/\.png/i).test(elm.src)) {
115 elm.oSrc = elm.src;
117 this.fix(elm, elm.src, 2);
118 } else if (elm.src.indexOf(blank) == -1) {
125 if ((bgSrc + elm.src).indexOf(blank) == -1) {
132 if (data.tiles && data.tiles.src) {
139 if (data.tiles && data.tiles.src) {
144 } else if ((isPos || isClass) && data.tiles && data.tiles.src) {
145 this.tileBG(elm, data.tiles.src);