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

Javascript
javascript模仿msgbox提示效果代码
javascript table美化鼠标滑动单元格变色
告诉大家什么是JSON
json 定义
json跟xml的对比分析
jQuery实用技巧
JQuery实现自定义对话框的代码
强烈推荐240多个jQuery插件提供下载
豆瓣网的jquery代码实例
使用 JavaScript 创建可维护的幻灯片效果代码
动感超强的JS图片轮换特效
一个小型js框架myJSFrame附API使用帮助
Javascript入门学习第二篇 js类型
Javascript入门学习第三篇 js运算
Javascript入门学习第四篇 js对象和数组
jQuery基础教程笔记适合js新手
图片自动缩小 点击放大
非常不错的功能强大代码简单的管理菜单美化版
js 新浪的一个图片播放图片轮换效果代码
javascript import css实例代码

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


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