acerbic coffee
          走自己的路,讓別人跑步
          posts - 26,comments - 14,trackbacks - 0
          <2006年10月>
          24252627282930
          1234567
          891011121314
          15161718192021
          22232425262728
          2930311234

          常用鏈接

          留言簿(1)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          收藏夾

          ajax中國(ajax開發(fā))

          其他

          搜索

          •  

          積分與排名

          • 積分 - 47041
          • 排名 - 1039

          最新評論

          閱讀排行榜

          評論排行榜

          ??????<input name="qd" type="submit" class="button" value="確 定" onFocus="this.blur()">
          onFocus="this.blur()"?? 為鎖定文本框

          ??????網(wǎng)頁框架代碼<iframe border=0 name=lantk src="要嵌入的網(wǎng)頁地址" width=400 height=400 allowTransparency scrollbars=yes frameBorder="0"></iframe>

          特點是無論使用何種分辨率,它的大小和位置都是不變的。

          我所收集的:

          1.
          <frameset border="0" cols="0,*" frameborder="0" framespacing="0" onload="init()" onhelp="noHelp()" onkeydown="noEffect()" ondragstart="noEffect()" oncontextmenu="noContext()">
          <frame name="oPlus" src="" noresize>
          <frame name="oMain" src="http://lovelucking.onlybeloved.com" frameborder="0" noresize scrolling="auto">
          </frameset>

          2.右邊框架
          <frameset cols="*,150" frameborder="0" border="0" framespacing="0">
          <frame src="http://lovelucking.onlybeloved.com" name="mm" frameborder="0">
          <frame src="http://右邊網(wǎng)址.com" name="rightFrame" frameborder="0" scrolling="NO" noresize>
          </frameset>

          3.上下框架
          <frameset rows="28,*" frameborder="NO" border="0" framespacing="0">
          <frame src="http://上部網(wǎng)址/index.htm" name="dj-play" scrolling="no" noresize >
          <frame src="http://lovelucking.onlybeloved.com" name="mainFrame" scrolling="auto">
          </frameset>

          4.網(wǎng)頁內(nèi)嵌框架
          <IFRAME align=middle marginWidth=0 vspace=-0 marginHeight=0 src="http://lovelucking.onlybeloved.com" frameBorder=no width=400 scrolling=auto height=300></IFRAME>

          ~~~~~

          也可以自己修在框架大小:
          <table width="寬大小" height="高大小">

          <TD align=middle width=寬大小 height=高的大小><IFRAME name=sucai1
          marginWidth=0 frameSpacing=0 marginHeight=0
          src="所要放的網(wǎng)頁的地址" frameBorder=0 width=400
          height=380></TD>
          </table>
          </IFRAME>


          在當前網(wǎng)頁中包含另一個網(wǎng)頁:

          <iframe src=另一個網(wǎng)頁地址></iframe>

          9、網(wǎng)頁打開后,隔一定時間自動刷新:

          <META HTTP-EQUIV="refresh" CONTENT="時間間隔秒">

          10、網(wǎng)頁打開后,隔一定時間自動跳轉(zhuǎn)到另一頁:

          <meta http-equiv="Refresh" content="時間間隔秒; url=另一個網(wǎng)頁地址">


          兩個域名同一個空間自動跳轉(zhuǎn)的ASP代碼
          <%if Request.ServerVariables("SERVER_NAME")="cdpy.com" then
          response.redirect "default.asp"
          else%>
          <%end if%>
          <%if Request.ServerVariables("SERVER_NAME")="www.cdpy.com" then
          response.redirect "default.asp"
          else%>
          <%end if%>
          <%if Request.ServerVariables("SERVER_NAME")="xingqiba.com" then
          response.redirect "cdhome/default.asp"
          else%>
          <%end if%>
          <%if Request.ServerVariables("SERVER_NAME")="www.xingqiba.com" then
          response.redirect "cdhome/default.asp"
          else%>
          <%end if%>
          <%if Request.ServerVariables("SERVER_NAME")="blog.xingqiba.com" then
          response.redirect "blog/"
          else%>
          html中跳轉(zhuǎn)最全代碼
          <html>
          <head>
          <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
          <meta name="ProgId" content="FrontPage.Editor.Document">
          <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
          <title>正在進入</title>
          </head>
          <body>
          <form name=loading>
           <p align=center> <font color="#0066ff" size="2">正在進入,請稍等</font><font color="#0066ff" size="2" face="Arial">...</font>
            <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#0066ff; background-color:#fef4d9; padding:0px; border-style:none;">
            
            <input type=text name=percent size=47 style="color:#0066ff; text-align:center; border-width:medium; border-style:none;">
            <script> 
          var bar=0 
          var line="||" 
          var amount="||" 
          count() 
          function count(){ 
          bar=bar+2 
          amount =amount + line 
          document.loading.chart.value=amount 
          document.loading.percent.value=bar+"%" 
          if (bar<99) 
          {setTimeout("count()",100);} 
          else 
          {window.location = "http://xia.7u7.cn";} 
          }</script>
           </p>
          </form>
          <p align="center"> 如果您的瀏覽器不支持跳轉(zhuǎn),<a style="text-decoration: none" ><font color="#FF0000">請點這里</font></a>.</p>
          </body>
          </html>
          腳本方式
          如:
          <script language="javascript" type="text/javascript">
          <!--
          window.location='index.html';
          //-->
          </script>
          html的meta方式
          如:
          <meta http-equiv='Refresh' content='0;URL=index.html'>
          這種方法的好處是可以控制重定向的時間
          posted on 2006-10-22 10:07 acerbic coffee 閱讀(274) 評論(0)  編輯  收藏 所屬分類: 個人筆記
          主站蜘蛛池模板: 阿拉善右旗| 丹凤县| 封开县| 晋州市| 阳新县| 龙口市| 浦县| 淳安县| 石景山区| 秦安县| 廊坊市| 开远市| 磴口县| 岱山县| 康定县| 奎屯市| 江西省| 乌鲁木齐市| 汉中市| 石河子市| 多伦县| 江城| 涞源县| 洛川县| 兴义市| 巴东县| 星子县| 收藏| 咸阳市| 郑州市| 武清区| 大渡口区| 璧山县| 西和县| 广丰县| 万山特区| 松阳县| 开封县| 洪雅县| 西乡县| 定州市|