<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.jb51.net/logos.gif">
推荐阅读
ie 处理 gif动画 的onload 事件的一个 bug
如果 <img>标签的 src为一个 gif 动画,那么他的 onload事件会重复触发。 firefox就没有这样的问题。 <img src="http://zi.csdn.net/intel_120x60.gif" onload='gorush(this)'> <script type="text/javascript"> />>>详细阅读
本文标题:超级简单的图片防盗(HTML),好用
地址:http://www.17bianji.com/kaifa2/JS/30594.html
1/2 1