乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      40種 網(wǎng)頁技巧

       jiashengfan 2006-12-31
      現(xiàn)在有很多人在csdn上賣東西啊,先鄙視下。然后予以反擊,csdn是交流的地方,不是交易的地方.................
       
      1. oncontextmenu="window.event.returnValue=false" 將徹底屏蔽鼠標(biāo)右鍵
      <table border oncontextmenu=return(false)><td>no</table> 可用于Table
      2. <body onselectstart="return false"> 取消選取、防止復(fù)制
      3. onpaste="return false" 不準(zhǔn)粘貼
      4. oncopy="return false;" oncut="return false;" 防止復(fù)制
      5. <link rel="Shortcut Icon" href="favicon.ico"> IE地址欄前換成自己的圖標(biāo)
      6. <link rel="Bookmark" href="favicon.ico"> 可以在收藏夾中顯示出你的圖標(biāo)
      7. <input style="ime-mode:disabled"> 關(guān)閉輸入法
      8. 永遠(yuǎn)都會帶著框架
      <script language="JavaScript"><!--
      if (window == top)top.location.href = "frames.htm"; //frames.htm為框架網(wǎng)頁
      // --></script>
      9. 防止被人frame
      <SCRIPT LANGUAGE=JAVASCRIPT><!--
      if (top.location != self.location)top.location=self.location;
      // --></SCRIPT>
      10. 網(wǎng)頁將不能被另存為
      <noscript><iframe src="/blog/*.html>";</iframe></noscript>
      11. <input type=button value=查看網(wǎng)頁源代碼
      onclick="window.location = "view-source:"+ "http://www."">
      12.刪除時確認(rèn)
      <a href="javascript:if(confirm("確實要刪除嗎?"))location="boos.asp?&areyou=刪除&page=1"">刪除</a>
      13. 取得控件的絕對位置
      //Javascript
      <script language="Javascript">
      function getIE(e){
      var t=e.offsetTop;
      var l=e.offsetLeft;
      while(e=e.offsetParent)
      alert("top="+t+"/nleft="+l);
      }
      </script>
      //VBScript
      <script language="VBScript"><!--
      function getIE()
      dim t,l,a,b
      set a=document.all.img1
      t=document.all.img1.offsetTop
      l=document.all.img1.offsetLeft
      while a.tagName<>"BODY"
      set a = a.offsetParent
      t=t+a.offsetTop
      l=l+a.offsetLeft
      wend
      msgbox "top="&t&chr(13)&"left="&l,64,"得到控件的位置"
      end function
      --></script>
      14. 光標(biāo)是停在文本框文字的最后
      <script language="javascript">
      function cc()
      {
      var e = event.srcElement;
      var r =e.createTextRange();
      r.moveStart("character",e.value.length);
      r.collapse(true);
      r.select();
      }
      </script>
      <input type=text name=text1 value="123" onfocus="cc()">

        本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多