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

Javascript
兼容firefox的文本框只能输入两位小数的数字的代码
javascript 年月日联动实现核心代码
JavaScript 图片预览效果 推荐
JavaScript是否可实现多线程 深入理解JavaScript定时机制
jquery 表单取值常用代码
javaScript 删除确认实现方法小结
javascript强制弹出新窗口实现代码
Js倒计时代码,当鼠标离开页面与回到页面会自动停止与开始
Div+Js实现的带阴影菜单 微软以前网站曾用过
纯CSS实现的当鼠标移上图片添加阴影效果代码
JavaScript 未知高度元素垂直居中实现代码
javascript 仿开心网好友印象功能(点击文字弹出印象框)
JS+CSS实现的一种交互体验 表单页面
js 效率组装字符串 StringBuffer
window.js 主要包含了页面的一些操作
关于Aptana Studio生成自动备份文件的解决办法
javascript下arguments,caller,callee,call,apply示例及理解
HTA版JSMin(省略修饰语若干)基于javascript语言编写
CSS+Jquery实现页面圆角框方法大全
js 页面刷新location.reload和location.replace的区别小结

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


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