双网卡服务器怎样用JavaScript检测访问者的速度或ip并跳转到速度快的端口? 是不是问题太简单了?大家帮帮我嘛! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这种问题都来了…………哈哈期待高手的出现 这个是不是得用组件才行。顶下 <html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>边结点测速</title><body><script>tim=1setInterval("tim++",100)b=1var autourl=new Array()autourl[1]="www.logoshow.net"autourl[2]="www.blueidea.com"autourl[3]="www.xxx.com"function butt(){document.write("<form name=autof>")for(var i=1;i<autourl.length;i++)document.write("<input type=text name=txt"+i+" size=10 value=测试中……> =》<input type=text name=url"+i+" size=40> =》<input type=button value=GO onclick=window.open(this.form.url"+i+".value)><br>")document.write("<input type=submit value=重测></form>")}butt()function auto(url){document.forms[0]["url"+b].value=urlif(tim>200){document.forms[0]["txt"+b].value="连接超时"}else{document.forms[0]["txt"+b].value="时间"+tim/10+"秒"}b++}function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl[i]+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>")}run()</script></body></html>//这个是测速程序,你在客户端检测各端口的速度,比较下再跳转吧 document.getElementsByName()不兼容吗? 网页中怎样播放视频 表单查询时 让他只提交一次 没有第二次 ie6 ie7不支持jQuery的click事件 请问如何用java script修改表格 在一个FORM中如何使一个select框只读(谢,急) 谁有这样的日历程序 手机号码输入框 大佬们帮忙看看,关于ArcGISTiledMapServiceLayer不显示地图的问题 想知道这段代码的都是什么意思?请帮忙解答,谢谢各位了 高分求救.在线等???在Excel中如何把新建的工作表,放在某一工作表之后,而不是之前????? 怎样使用脚本动态生成image的src
哈哈期待高手的出现
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>边结点测速</title>
<body>
<script>
tim=1
setInterval("tim++",100)
b=1var autourl=new Array()
autourl[1]="www.logoshow.net"
autourl[2]="www.blueidea.com"
autourl[3]="www.xxx.com"function butt(){
document.write("<form name=autof>")
for(var i=1;i<autourl.length;i++)document.write("<input type=text name=txt"+i+" size=10 value=测试中……> =》<input type=text name=url"+i+" size=40> =》<input type=button value=GO onclick=window.open(this.form.url"+i+".value)><br>")
document.write("<input type=submit value=重测></form>")
}
butt()
function auto(url){
document.forms[0]["url"+b].value=url
if(tim>200)
{document.forms[0]["txt"+b].value="连接超时"}
else
{document.forms[0]["txt"+b].value="时间"+tim/10+"秒"}
b++
}
function run(){for(var i=1;i<autourl.length;i++)document.write("<img src=http://"+autourl[i]+"/"+Math.random()+" width=1 height=1 onerror=auto('http://"+autourl[i]+"')>")}
run()</script>
</body>
</html>//这个是测速程序,你在客户端检测各端口的速度,比较下再跳转吧