像csdn登录时的“正在登录。。。”是怎么做出来的

kittyno12 2003-08-19 04:12:34
像csdn登录时的“正在登录。。。”是怎么做出来的?
...全文
49 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
lang11zi 2003-08-19
  • 打赏
  • 举报
回复
就是输出一行字呀。

然后转到页面就行
reddding 2003-08-19
  • 打赏
  • 举报
回复
主要用到的是html的< META content="2; URL=index.htm" http-equiv=Refresh> 或是
javascript的setTimeout,给一个俺自已写的函数你参考一下:
function winopen() { //v2.0
win=window.open('','新窗口','width=400,height=300');
win.document.write("<html>");
win.document.write("<head>");
win.document.title="删除用户记录";
win.document.write("</head>");
win.document.write("<body>");
win.document.write("正在删除录.........");
win.window.setTimeout(" window.close();", 2000);
win.document.write("</body>");
win.document.write("<html>");
}
-->
</script>
2599 2003-08-19
  • 打赏
  • 举报
回复
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta http-equiv="refresh" content=5;url="main.asp">
<title>无标题文档</title>
</head>
<body>
<center>正在登录。。。</center>
</body>
</html>

####################################
content=5是说5秒后转向url所指向的地址,等于6的话就是6秒
kittyno12 2003-08-19
  • 打赏
  • 举报
回复
请教yhncom_36:
我把url指向我本机上有的一个网爷,可是并没有转过去,你能写个完整的代码吗,谢谢你了,一定高分答谢!
bushido 2003-08-19
  • 打赏
  • 举报
回复
通过检查网页的readystate属性
1蓝天1 2003-08-19
  • 打赏
  • 举报
回复
错了,对不起!!
1蓝天1 2003-08-19
  • 打赏
  • 举报
回复
8000以上吧!!!
yhncom_36 2003-08-19
  • 打赏
  • 举报
回复
response.write ("<meta http-equiv='refresh' content='1;url=s_name/s_index.asp'>")


要给分啊,现在设置的时间为:1秒!
kittyno12 2003-08-19
  • 打赏
  • 举报
回复
“正在登录。。。”是要控制它显示的秒数的,我记得好象是用asp还是用javascript写的,请哪位高手教教我啊!!!
jarodzhao 2003-08-19
  • 打赏
  • 举报
回复
response.write "正在登录。。。"

对比用户名及口令!

...


重定向

这样不行吗??!
kittyno12 2003-08-19
  • 打赏
  • 举报
回复
我的意思是这个“正在登录。。。”是怎么做出来的
jarodzhao 2003-08-19
  • 打赏
  • 举报
回复
登录页面一开始,先输入出“正在登录。。。”
然后开始检测用户名和密码是否正确。。。。及其它,完了再重定向

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧