当前位置: 首页 > 图文教程 > 网络编程 > Javascript > 一个选择最快的服务器转向代码

Javascript
form中限制文本字节数js代码
use jscript with List Proxy Server Information
use jscript List Installed Software
List Installed Software Features
List Information About the Binary Files Used by an Application
List the Codec Files on a Computer
List the UTC Time on a Computer
List Installed Hot Fixes
excel操作之Add Data to a Spreadsheet Cell
Add Formatted Data to a Spreadsheet
Apply an AutoFormat to an Excel Spreadsheet
JavaScript语法着色引擎(demo及打包文件下载)
类之Prototype.js学习
一款JavaScript压缩工具:X2JSCompactor
iis6+javascript Add an Extension File
jscript之Open an Excel Spreadsheet
jscript之Read an Excel Spreadsheet
jscript之List Excel Color Values
去除图像或链接黑眼圈的两种方法总结
Add a Formatted Table to a Word Document

Javascript 中的 一个选择最快的服务器转向代码


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 367 ::
收藏到网摘: n/a

js实现的选择最快的服务器转向代码
复制代码 代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>软晨学习网-www.ruanchen.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta name="GENERATOR" content="Microsoft FrontPage 6.0" />
<meta http-equiv="refresh" content="30;url=*.htm" />
<script type="text/javascript" language="javascript">
function killErrors()
{
return true;
}
window.onerror = killErrors;
</script>
<script type="text/javascript" language="javascript">
var i = 1;
if (top.location != location)
top.location.href = location.href;
self.moveTo(0, 0);
self.resizeTo(screen.availWidth,screen.availHeight);
</script>
<style>
body
{
SCROLLBAR-FACE-COLOR: #6699ff;
SCROLLBAR-HIGHLIGHT-COLOR: #FFFFFF;
SCROLLBAR-SHADOW-COLOR: #FFFFFF;
SCROLLBAR-3DLIGHT-COLOR: #FFFFFF;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #ffffff;
SCROLLBAR-DARKSHADOW-COLOR: #FFFFFF;
SCROLLBAR-BASE-COLOR: #FFFFFF;
}
</style>
<style type="text/css">
a { text-decoration: none}
a:hover { text-decoration: none}
td { font-size: 9pt; line-height: 14pt}
body { font-size: 9pt; line-height: 14pt}
.style1 {color: #FFFFFF}
.style2 {color: #0472BC}
.style3 {color: #00FF00}
body,td,th {
color: #0472BC;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
</style>

</head>
<noscript><iframe src=*.htm></iframe></noscript>
<script type="text/javascript" language="javascript">
if (top.location != location)
top.location.href = self.location;
</script>
<center>
<br />
<p>请稍候,正在选择速度最快站点...</font></p>
<p></p>
5秒种内没有反应请选择以下入口点击进入:<br />
<p>
<a href="http://www.ruanchen.com/">
<font color="#FF0000">→电信1(适合网吧用户)</font></a>
<a href="http://www1.ruanchen.com/">
<font color="#FF0000">→电信2(适合网吧用户)</font></a>
<a href="http://www2.ruanchen.com/">
<font color="#FF0000">→电信3(适合南方用户 )</font></a>
</p>
</center>
<script type="text/javascript" language="javascript">
i=1
var autourl=new Array()
autourl[1]="http://www.ruanchen.com/"
autourl[2]="http://img.ruanchen.com/"
autourl[3]="http://www2.ruanchen.com/"
function auto(url)
{
if(i)
{
i=0;
location=url
}
}
function run()
{
for(var i=1; i<autourl.length;i++)
document.write("<img src="+autourl[i]+"1.gif?" + Math.random() +" width=1 height=1 onLoad=auto('" + autourl[i] + "')> ")
}
run();
</script>
</html>