?? 15.13 禁止圖像的復(fù)制.htm
字號(hào):
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>標(biāo)題頁(yè)</title>
<script language="javascript">
function noCopy(control)
{
alert("版權(quán)所有,禁止復(fù)制!");
return false;
}
function check()
{
if(document.images) //遍歷頁(yè)面中的圖像
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown = noCopy;
}
</script>
</head>
<body onload="check()">
<img src='' width=70 height=50 border=1 alt='我的圖片'>
<div>
<table width="300" height="50" border="0" cellspacing="2" cellpadding="0" bgcolor="#FFb609">
<tr>
<td bgcolor="#ccffff">禁止復(fù)制網(wǎng)頁(yè)中所有圖片...</td>
</tr>
</table>
</div>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -