您好,欢迎访问一九零五行业门户网

js loading加载效果实现代码_javascript技巧

复制代码 代码如下:
protected void page_load(object sender, eventargs e)
{
showloading();
system.threading.thread.sleep(10000);
clientscript.registerclientscriptblock(typeof(string), , );
}
///
/// 显示页面正在加载中效果
///
public void showloading()
{
stringbuilder s = new stringbuilder();
s.append( \n);
s.append(\n);
s.append(\n);
s.append(\n);
s.append(页面正在加载中...
\n);
s.append(
\n);
s.append(
\n );
//httpcontext.current.response.write(s.tostring());
httpcontext.current.response.write(s.tostring());
//httpcontext.current.response.flush();
其它类似信息

推荐信息