時間:2009-07-28 點擊: 次 來源:網絡 作者:鄒志強 - 小 + 大
------------------------------------------------------------------------------ 不隱藏轉向之后的地址 代碼一 ------------------------------------------------------------------------------ <html> <head> <meta http-equiv="Content-Language" content="zh-cn"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title></title> </head> <body> <form name=loading> < align=center><FONT face=Arial color=#0066ff size=2>loading...</FONT> <INPUT style="ADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-WEIGHT: bolder; PADDING-BOTTOM: 0px; COLOR: #0066ff; BORDER-TOP-style: none; PADDING-TOP: 0px; FONT-FAMILY: Arial; BORDER-RIGHT-style: none; BORDER-LEFT-style: none; BACKGROUND-COLOR: white; BORDER-BOTTOM-style: none" size=46 name=chart> <BR><INPUT style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; COLOR: #0066ff; BORDER-BOTTOM: medium none; TEXT-ALIGN: center" size=47 name=percent> <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 = "將這里改成要轉入的網址";} }</SCRIPT> </P></form> </body> </html> ------------------------------------------------------------------------------- 不隱藏轉向之后的地址 代碼二 ------------------------------------------------------------------------------- <html> <body> <script language="javascript"> <!-- function goToURL() { //v2.0 for (var i=0; i< (goToURL.arguments.length - 1); i+=2) //with arg pairs eval(goToURL.arguments+".location='"+goToURL.arguments[i+1]+"'"); document.returnvalue = false; } //--> </script> <body bgcolor="#FFFFFF" onLoad="goToURL('parent','將這里改成要轉入的網址');return document.returnvalue"> </body> </html> - ------------------------------------------------------------------------------ 不隱藏轉向之后的地址 代碼三 ------------------------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Language" content="zh-CN"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title></title> </head> <SCRIPT LANGUAGE="javascript"> <!-- Start Code var ver = navigator.appVersion; if (ver.indexOf("MSIE") != -1) { window.location.href="將這里改成要轉入的網址" }else window.location.href="將這里改成要轉入的網址" // End Code --> </SCRIPT> </html> ------------------------------------------------------------------------------- 不隱藏轉向之后的地址 代碼四 ------------------------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Language" content="zh-CN"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title></title> </head> <body> <meta http-equiv="refresh" content="0.1;url=將這里改成要轉入的網址"> </body> </html> ------------------------------------------------------------------------------- 可隱藏轉向之后的地址 ------------------------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Language" content="zh-CN"> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312"> <title></title> </head> <frameset framespacing="0" border="0" rows="0" frameborder="0"> <frame name="main" src="將這里改成要轉入的網址" scrolling="auto" noresize> </frameset> </html> 透明Flash的設置 ++++++++++++++++++++++++++++++++++++++++++++++++++ 主要是在Flash代碼段中插入這一語句:<param name=wmode value=transparent>,請看以下實例: <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/p ... flash.cab#version=6,0,29,0" width="100%" height="100%"> <param name="movie" value="../images/hudie.swf"> <param name="quality" value="high"> <param name=wmode value=transparent> <!--這個代碼表示背景透明--!> <embed src="../images/hudie.swf" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object> html中跳轉最全代碼 程序代碼 <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="rogId" 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://hi.baidu.com/lovec10";} }</script> </p> </form> <p align="center"> 如果您的瀏覽器不支持跳轉,<a style="text-decoration: none" href="http://blog.gangege.com"><font color="#FF0000">請點這里</font></a>.</p> </body> </html> html的meta方式 這種方法的好處是可以控制重定向的時間 程序代碼<meta http-equiv='Refresh' content='0;URL=index.html'> 在 <body> 里添加代碼程序代碼 <body onload="location.href='www.yoururl.com'"> |
上一篇:網站掛馬方式大全