19
Mar
实现方法很简单在CSS中添加以下代码,然后修改下面的图片路径,随便找个乱七八糟的图放上去,就OK. 另存起来还是有点头疼的,要看源代码才行。实现这个方法同样用到了CSS的expression功能。什么是expression请参见http://blog.nzye.com/read.php/205.h...这里。
img {
filter:expression(
this.不能去掉 ? "" :
(
(!this.complete) ? "" :
this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
String(this.不能去掉 = true).substr(0, 0) +
(this.src = "http://blog.nzye.com/images/clear.g..., 0)
)
);
}
filter:expression(
this.不能去掉 ? "" :
(
(!this.complete) ? "" :
this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") +
String(this.不能去掉 = true).substr(0, 0) +
(this.src = "http://blog.nzye.com/images/clear.g..., 0)
)
);
}
lee
2007.03.20 22:27
还不晓得呢,收藏
风铃
2007.03.19 18:27
先收藏起来!
分页: 1/1
1
1




作者:
07年元宵
杂,美,棒

