| This is my own little script I whipped together once, works for me :) function iePNG() { var images = document.getElementsByTagName("img"); if (images[0].style.filter != null) { var src; for (var i = 0; i < images.length; i++) { src = ""> if (src.indexOf(".png") > 0) { images[i].src = ""; images[i].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='')"; } } } } I don't really understand why you need all those complex span solutions and such, but if there's something wrong with my code I'd very much appreciate the feedback. btw, the blank.gif is a transparent 1*1 gif. Andreas On Jun 19, 2006, at 23:16 , Sam wrote:
|
_______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
