Js综合笔记

-----网页禁止复制----

-----网页禁止复制----
<body>
<SCRIPT language=javascript type=text/javascript>
<!--
document.oncontextmenu=new Function('event.returnValue=false;');
document.onselectstart=new Function('event.returnValue=false;');
-->
</SCRIPT>
</body>

----页面响应加载-----

<script type="text/javascript">
window.onload = function () {
var a = document.getElementById("loading");
a.parentNode.removeChild(a);
}
document.write('<div id="loading" style="margin:0 auto;text-align:center;padding:25%;"><img src="../../image/in_open.jpg" /></div>');
</script>

  

上一篇:UTF-8 BOM(EF BB BF)


下一篇:自动存储管理 ASM (转)