Hallo Stoffel,
also der Image-Tag sieht bei mir wie folgt aus
img id="imgLogo" class="imgLogo" alt="Braendle Logo" src="/images/bodymed/logo.png" iepng="true"
...also den sm:iepng="true" musst du bei dir hinzufügen
...mhmm und wie schick ich Dir nun das Javascript dazu?
sry, ich muss gleich zum meeting, ich schicke es dir nach, stoffel - PN oder so...
lg Trawe
EDIT:
Auszug vom Javascript sm-iepng.js
- Code: Alles auswählen
// Massive Art NGR: <img src="images/filename.png" iepng="true">
//
// If there is a problem with image size, put real pic size in attribs and border 0
//<img src="images/filename.png" width="xxx" height="xxx" border="0" iepng="true">
//
// Compacted by ScriptingMagic.com
if(typeof window.ScriptingMagic=='undefined'){window.ScriptingMagic=new Object()}window.ScriptingMagic.fixPNG=function(){};(function(){if(!document.all||window.opera){return}var À=navigator.appVersion.match(/MSIE (\d(?:\.\d)?)/)[1];if((À<5>=7)){return}document.appendChild(document.createElement('style'));document.styleSheets[document.styleSheets.length-1].addRule('.sm-iepng-backdrop','position:absolute;z-index:expression(this.nextSibling.currentStyle.zIndex);top:expression(this.nextSibling.offsetTop);left:expression(this.nextSibling.offsetLeft);height:expression(this.nextSibling.offsetHeight);width:expression(this.nextSibling.offsetWidth);filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'"+this.nextSibling.src.replace(/\'/g,"%27")+"\',sizingMethod=scale)");');window.ScriptingMagic.fixPNG=function(Á){Á.style.filter='alpha(opacity=0)';var Â=document.createElement('div');Â.className='sm-iepng-backdrop';if(Á.currentStyle.position.match(/^static$/i)){Á.style.position='relative'}Á.parentNode.insertBefore(Â,Á);Â=null};var Á=[],Â,Ã,Ä,Å;var Æ=document.getElementsByTagName('img');for(Â=0,Ã=Æ.length;Â<Ã;Â++){Á[Á.length]=Æ[Â]}var Ç=document.getElementsByTagName('input');for(Â=0,Ã=Ç.length;Â<Ã;Â++){Ä=Ç[Â];if(Ä.type&&Ä.type.match(/^image$/i)){Á[Á.length]=Ä}}for(Â=0,Ã=Á.length;Â<Ã;Â++){Ä=Á[Â];var È=Ä.getAttribute('sm:iepng');if(!È){continue}switch(È){case 'no':case 'false':case '0':break;default:window.ScriptingMagic.fixPNG(Ä)}}À=Á=Â=Ã=Ä=Å=Æ=Ç=null})();