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
);
//
}
查看全文
相关阅读:
.net core app的几个依赖究竟是什么
ocelot identityserver4 consul整合漫谈
错位重排算法公式的理解
IIS证书配置。。这究竟是为什么
.net core修改IIS发布的环境变量
服务注册和发现组件-consul
记一次失败的ubuntu虚拟机配置过程。。。
.net core统一认证学习笔记(一)ocelot分析
第四天
第三天
原文地址:https://www.cnblogs.com/ma/p/726370.html
最新文章
【转】spring
【转】java.util.vector中的vector的详细用法
斐波那契亚数列【递归】
一个华为人辞职创业后的几个反思
冒泡排序
【转】Myeclipse8.5 反编译插件 jad 安装
使用maven创建web项目
【转】myeclipse 上安装 Maven3
【转】MyBatis学习总结(七)——Mybatis缓存
dom中onload和弹出框以及location,history
热门文章
js中事件冒泡及阻止
js中的解绑事件
坚持自我,梦想前行
spring中banner.txt和配置和学习文档
springboot中模板 freemark,thymeleaf,jsp
springboot-简单集成mybatis
springboot中全局异常,系统配置
spring boot中的crud方式
让.net core程序在IIS中一直运行
.net core IIS上部署运行失败
Copyright © 2011-2022 走看看