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

Javascript
web开发设计师比较费解的JavaScript
jQuery教程:整理的几个常见的初学者问题
免费资源:7个效果非常棒的jQuery 3D效果插件
JavaScript教程:编写匿名函数的几种方法
jQuery教程:jQuery的核心
jQuery教程:jQuery核心方法的使用
webjx收集45个jQuery导航插件和教程
30个气泡悬浮框(Tooltip)的jQuery插件
Jetpack扩展案例:Gmail邮件提醒功能
非常出色的jQuery运动特效可以和Flash媲美
ImagesLazyLoad 图片延迟加载效果
收集国外的14个图片放大编辑的jQuery插件
修改和创建DOM节点两种方式的4种优化方案
jQuery.Switchable整合插件用途介绍
提高Textarea操作性能优秀的jQuery插件
WEBJX收集12个非常有创意的JavaScript小游戏
Javascript教程:关于深入了解JS的几个问题

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


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-09-12   浏览: 145 ::
收藏到网摘: 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>