CSS实现简单的图片防盗链代码
更新时间:2006年09月25日 00:00:00 作者:
实现方法很简单,在CSS中添加以下代码:
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://siyizhu.com/styles/nicky/images/clear.gif").substr(0, 0)
)
);
}
相关文章
详解IE6中的position:fixed问题与随滚动条滚动的效果
这篇文章主要介绍了详解IE6中的position:fixed问题与随滚动条滚动的效果的相关资料,希望通本文能帮助到大家,需要的朋友可以参考下2017-09-09


最新评论