• html页面LOADING dodo


    first:

    <form name=loading>
    <p><font color="7285CF">正在载入,请稍候.......</font></p>
    <p>
    <input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:7285CF; background-color:white; padding:0px; border-style:none;">
    <br>
    <input type=text name=percent size=46 style="font-family:Arial; color:FF0000; text-align:center; border-medium; border-style:none;">
    <script>var bar = 0
    var line = "||"
    var amount ="||"
    count()
    function count(){
    bar= bar+2
    amount =amount + line
    document.loading.chart.value=amount
    document.loading.percent.value=bar+"%"
    if (bar<99)
    {setTimeout("count()",100);}
    else
    {window.location = "/index.htm";}
    }
    </script>
    </p>
    </form>

    second:

    <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head><title>为网页加Loading

    </title>

    <meta http-equiv="Content-Type"

    content="text/html; charset=gb2312">

    </head>

    <body onload='clearInterval(timer);Loading.style.display="none";'>

    <div id="Loading" style="position:absolute;100%; height:100%; z-index:100;background:white;">

    <div id="Waiting" style="position:absolute;left:40%;top:50%;"></div></div>

    <script>

    var text="正在载入文档";i=0;

    function load() {

    if (i<6) {

    text+=".";

    Waiting.innerText=text;

    i++;}

    else {text="正在载入文档";i=0;}}

    timer=window.setInterval("load()",300);

    </script>

    <!--以下是网页的内容.-->

    <img src="http://图片地址">

    </body>

    </html>

    third:

    <html>
    <head>
    <title>Loading</title>
    <style type="text/css">
    body{background-color:#ffffff;}
    #content{display:none;}
    #loadbox{position:absolute;top:50%;left:50%;margin-left:-68px;margin-top:-36px;222px;height:58px;text-align:center;}
    #loadbox span{display:block;222px;height:32px;text-align:center;color:#CCC;font-size:9pt;}
    </style>
    <script type="text/javascript">
    document.write('<div id="loadbox"><span>页面加载中,请稍候……</span><img src="http://www.codefans.net/jscss/demoimg/200907/loading.gif" border="0"></div>');
    window.onload = function(){  
    document.getElementById('loadbox').style.display="none";
    document.getElementById('content').style.display="block";
    }
    </script>
    </head>
    <body>
    <div id="content"><iframe src="http://220.194.44.182/kmyz/applyinfo/default.html" width="800" height="360" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe></div>
    </body>
    </html>

  • 相关阅读:
    Unknown type '246 in column 3 of 5 in binary-encoded result set
    IOS开发常用的linux命令
    苹果开发中常用英语单词
    ios 中的UI控件学习总结(1)
    Srping MVC+mybatis mapping 多映射 配置
    IIS程序POST请求被触发两次的灵异事件
    文件服务器共享专用端口留档记录
    windows环境配置showdoc在线文档教程
    WindowsSever2008 R2 Standard 共享打印机手顺
    高效计算_七月算法5月深度学习班第2次课程笔记
  • 原文地址:https://www.cnblogs.com/zgqys1980/p/1678062.html
Copyright © 2020-2023  润新知