zoukankan
html css js c++ java
asp.net大页面载入时以进度条显示zt
protected
void
Page_Load(
object
sender, EventArgs e)
{
Response.Write(
"
<div id='mydiv' >
"
);
Response.Write(
"
_
"
);
Response.Write(
"
</div>
"
);
Response.Write(
"
<script>mydiv.innerText = '';</script>
"
);
Response.Write(
"
<script language=javascript>;
"
);
Response.Write(
"
var dots = 0;var dotmax = 10;function ShowWait()
"
);
Response.Write(
"
{var output; output = '正在装载页面';dots++;if(dots>=dotmax)dots=1;
"
);
Response.Write(
"
for(var x = 0;x < dots;x++){output += '·';}mydiv.innerText = output;}
"
);
Response.Write(
"
function StartShowWait(){mydiv.style.visibility = 'visible';
"
);
Response.Write(
"
window.setInterval('ShowWait()',1000);}
"
);
Response.Write(
"
function HideWait(){mydiv.style.visibility = 'hidden';
"
);
Response.Write(
"
window.clearInterval();}
"
);
Response.Write(
"
StartShowWait();</script>
"
);
Response.Flush();
Thread.Sleep(
4000
);
//
}
查看全文
相关阅读:
《机器学习十讲》学习报告七
找到每个人的任务
牛客每个人最近的登陆日期
考试分数(一)
牛客的课程订单分析(一)
实习广场投递简历分析(一)
sql 查找最晚入职员工信息
sql 学习笔记
shell 编程获取文件名后缀为特定字符的函数
im的基本思路
原文地址:https://www.cnblogs.com/ma/p/726370.html
最新文章
第二天
《敏捷开发》
第一天
学习进度8
学习进度7
学习进度6
学习进度5
学习进度4
学习进度3
《构建之法》
热门文章
大三寒假学习进度笔记(十八)(补)——机器学习中的回归
代码可测试性
3月4日每日总结
了解软件架构师如何工作
01.TensorFlow基本操作
3月3日每日总结
3月2日每日总结
《机器学习十讲》学习报告十
《机器学习十讲》学习报告九
《机器学习十讲》学习报告八
Copyright © 2011-2022 走看看