首页

源码搜藏网

首页 > 开发教程 > IT博文 > 网页设计 >

CSS图片防盗链代码

创建时间:2013-10-09 10:05  

<html>
<head>
<title>CSS也可实现图片防盗链</title>
<style>
img {
 filter:expression( this.不能去掉 ? "" : ( (!this.complete) ? "" : this.runtimeStyle.filter = ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "')") + String(this.不能去掉 = true).substr(0, 0) +
 (this.src = "/images/logo.gif").substr(0, 0) ) );
}
</style>
</head>
<body></body>

</html>


上一篇:20个创意十足的倾斜式网站设计
下一篇:创建信息图表的6个最佳工具

相关内容

热门推荐