当前位置:编程学习 > JS >>

超级简单的图片防盗(HTML),好用

答案:<style type="text/css">
* html 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://www.sxpcrazy.com/blog/clear.gif").substr(0, 0)
)
);
}
</style>
<img src="http://www.zhaoxi.net/logos.gif">

上一个:Javascript下的keyCode键码值表
下一个:在页面上点击任一链接时触发一个事件的代码

CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,