Lines Matching refs:img
1351 this.selfClosingTags={meta:1,link:1,area:1,base:1,col:1,input:1,img:1,br:1,hr:1,param:1,embed:1}; property in selfClosingTags
6629 …nk.gif"}),DIV({"class":"infoTipCaption"})),onLoadImage:function(event){var img=event.currentTarget…
6630 var innerBox=img.parentNode;
6635 }var updateInfoTip=function(){var w=img.naturalWidth||img.width||10,h=img.naturalHeight||img.height…
6636 var repeat=img.getAttribute("repeat");
6637 if(repeat=="repeat-x"||(w==1&&h>1)){collapse(img,true);
6639 bgImg.style.background="url("+img.src+") repeat-x";
6643 }}else{if(repeat=="repeat-y"||(h==1&&w>1)){collapse(img,true);
6645 bgImg.style.background="url("+img.src+") repeat-y";
6649 }}else{if(repeat=="repeat"||(w==1&&h==1)){collapse(img,true);
6651 bgImg.style.background="url("+img.src+") repeat";
6654 }else{if(w>maxWidth||h>maxHeight){if(w>h){img.style.width=maxWidth+"px";
6655 img.style.height=Math.round((h/w)*maxWidth)+"px"
6656 }else{img.style.width=Math.round((w/h)*maxHeight)+"px";
6657 img.style.height=maxHeight+"px"