HTML跳转代码的两种模式
作者:文墨网    转贴自:本站原创    点击数:2932

模式一
<html>
<head>
<meta http-equiv=Content-Language content=zh-CN>
<meta HTTP-EQUIV=Content-Type CONTENT=text/html; charset=gb2312>
<META http-equiv=refresh content=0.1;url=http://www.wenmowang.com/>
<title>正在跳转</title>
</head>
<body>
</body>
</html>

 

模式二
<FORM name=loading> 
<P align=center><FONT color=#0066ff size=2>正在进入,请稍等</FONT><FONT face=Arial color=#0066ff size=2>...</FONT>   <INPUT size=46 name=chart none BORDER-BOTTOM-STYLE: #fef4d9; BACKGROUND-COLOR: none; BORDER-LEFT-STYLE: BORDER-RIGHT-STYLE: Arial; FONT-FAMILY: 0px; PADDING-TOP: BORDER-TOP-STYLE: #0066ff; COLOR: PADDING-BOTTOM: bolder; FONT-WEIGHT: PADDING-LEFT:>     <INPUT style=BORDER-RIGHT: medium none size=47 name=percent none none; #0066ff; COLOR: center TEXT-ALIGN: medium BORDER-BOTTOM: BORDER-LEFT: BORDER-TOP:>   
<SCRIPT> 
var bar=0 
var line=|| 
var amount=|| 
count() 
function count(){ 
bar=bar+2 
amount =amount + line 
document.loading.chart.&#118alue=amount 
document.loading.percent.&#118alue=bar+% 
if (bar<99) 
{setTimeout(count(),100);} 
else 
{window.location = http://www.wenmowang.com/;} 
}</SCRIPT>
  </P></FORM>
<P align=center>如果您的浏览器不支持跳转,<A href=http://www.wenmowang.com/ none><FONT color=#ff0000>请点这里</FONT></A></P>