The drag&drop effect in scriptaculous makes my div dissapear in IE. I
take it this is because I have a filter on the div to get alpha
transparency on the pngs, and this is cancelled out by the opacity
setting, yet it says this was fixed in scriptaculous.
JavaScript for png filtering at bottom.
The div becomes visible again (or rather, the images comes back) when
dragging is ended.
Any ideas?
Andreas
function iePNG() {
var images = document.getElementsByTagName("img");
if (images[0].style.filter != null) {
var src;
for (var i = 0; i < images.length; i++) {
src = images[i].src;
if (src.indexOf(".png") > 0) {
images[i].src = "images/blank.gif";
images[i].style.filter =
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "')";
}
}
}
}
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs