網頁禁止右鍵、禁止查看源代碼、禁止複製的代碼,試試你的右鍵、ctrl+c和ctrl+c吧~
<script type="text/javascript">
<!--
document.οncοntextmenu=new Function('event.returnValue=false;');
document.onselectstart=new Function('event.returnValue=false;');
-->
</script>
網頁禁止右鍵、禁止查看源代碼、禁止複製的代碼,試試你的右鍵、ctrl+c和ctrl+c吧~
<script type="text/javascript">
<!--
document.οncοntextmenu=new Function('event.returnValue=false;');
document.onselectstart=new Function('event.returnValue=false;');
-->
</script>
主要用到 $("#id").show();//顯示 $("#id").hide();//隱藏 $("#id").toggle();//狀態相反
廢話不說直接上代碼 function aa() { var bb=document.getElementById("img1"); //bb.src ="Img/2.gif" alert(bb)