以文本方式查看主题 - 咿思舞论坛 (http://bbs.145829.com/index.asp) -- 『网站资源』 (http://bbs.145829.com/list.asp?boardid=8) ---- 网页转向代码,域名自动转向代码,弹出新窗口 (http://bbs.145829.com/dispbbs.asp?boardid=8&id=117) |
-- 作者:admin -- 发布时间:2009/8/14 11:22:16 -- 网页转向代码,域名自动转向代码,弹出新窗口 <html> <head> <meta http-equiv="Content-Language" c> <meta HTTP-EQUIV="Content-Type" C> <title></title> </head> <body> <form name=loading> <P align=center><FONT face=Arial color=#0066ff size=2>loading...</FONT> <INPUT style="PADDING-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" > </body> </html> ------------------------------------------------------------------------------- 不隐藏转向之后的地址 代码三 ------------------------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Language" c> <meta HTTP-EQUIV="Content-Type" C> <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" c> <meta HTTP-EQUIV="Content-Type" C> <title></title> </head> <body> <meta http-equiv="refresh" c> </body> </html> ------------------------------------------------------------------------------- 可隐藏转向之后的地址 ------------------------------------------------------------------------------- <html> <head> <meta http-equiv="Content-Language" c> <meta HTTP-EQUIV="Content-Type" C> <title></title> </head> <frameset framespacing="0" border="0" rows="0" frameborder="0"> <frame name="main" src="将这里改成要转入的网址" scrolling="auto" noresize> </frameset> </html> 弹出新窗口 1. <script language="JavaScript"> <!-- function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } window.open(\'http://dielian.net\',\'dielian\'); //--> </script> 2 <script language="JavaScript"> <!-- var gt = unescape(\'%3e\'); var popup = null; var over = "Launch Pop-up Navigator"; popup = window.open(\'\', \'popupnav\', \'\'); if (popup != null) { if (popup.opener == null) { popup.opener = self; } popup.location.href = \'http://dielian.net/\'; } // --> </script> |