ce shi

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <style>body{
    
    }

#tb1,#tb2{
    display:none;
    }

#an{
    margin-top:50px;
    margin-left:200px;
    width:500px;
    height:200px;
    padding:0px 60px;
    font-color:#333;
    font-size:50px;
    background-color:transparent;
    border:#F00 dashed 1px;
    text-align:center;
    line-height:100px;
    }

#select{
    position:absolute;
    top:30px;
    margin-left:380px;
    padding:0px 20px;
    width:150px;
    border:none;
    color:#000;
    font-size:20px;
    }
#select,#an{
    cursor:hand
    }

#da
{
    position:absolute;
    top:260px;
    margin-left:500px;
    }
p{
    position:absolute;
    top:260px;
    margin-left:500px;
    }
a{
    text-decoration:none;
    }
a:link{
    color:#00C;
    }
a:visited{
    color:#00C;
    }
a:hover{
    color:#F00;
    }</style>
       
    </head>
    <body>
 
<script type="text/javascript">var mytime=null;
var num;
function doit()
{
    var bt=window.document.getElementById("an");
        if(mytime==null)
    {
        change();
        }
        else
        {
            clearTimeout(mytime);
            mytime=null;
        }
}

function change()
{
    num=document.form.select.value;
    switch(num)
    {
        case "01":show_1();break;
        case "02":show_2();break;
        }
        
    }

function show_1()
{
    var x=document.getElementById("tb1").rows[parseInt(tb1.rows.length*Math.random())].cells;
    an.value=x[0].innerHTML;
    mytime=setTimeout("show_1()",1);
    }
    
function show_2()
{
    var x=document.getElementById("tb2").rows[parseInt(tb2.rows.length*Math.random())].cells;
    an.value=x[0].innerHTML;
    mytime=setTimeout("show_2()",1);
    }
    
function te()
{
    var d=new Date();
    var t=document.getElementById("da");
    t.innerHTML=d.getFullYear()+‘-‘+(d.getMonth()+1)+‘-‘+d.getDate()+"\r\n"+
    d.getHours()+":"+d.getMinutes()+":"+d.getSeconds()
    }
window.setInterval("te()",1000);</script>
<form name="form">
<select name="select" id="select">
        <option value="01">信管01班</option>
        <option value="02">信管02班</option>
</select>
</form>

<div><input type="button" onclick="doit()" id="an" value="Begin!" /></div><br />
<div id="da"></div>
<p>From: <a target=_blank href="http://blog.csdn.net/lxh_gdmu?viewmode=contents" target="_blank">桑海田</a></p>
    </body>
    
   <table id="tb1">
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" style="height:14.00pt;" x:str="">**会</td>
   </tr>
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" style="height:14.00pt;" x:str="">张三</td>
   </tr>
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" style="height:14.00pt;" x:str="">李四</td>
   </tr>
  </table>
  
  <table id="tb2">
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" width="72" style="height:14.00pt;width:54.00pt;" x:str="">刘备</td>
   </tr>
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" style="height:14.00pt;" x:str="">王五</td>
   </tr>
   <tr height="18.67" style="height:14.00pt;mso-height-source:userset;mso-height-alt:280;">
    <td class="xl66" height="18.67" style="height:14.00pt;" x:str="">张飞</td>
   </tr>
  </table>

</html>

时间: 2024-07-29 23:54:36

ce shi的相关文章

优先双链表

题目: 设有一个双链表,每个结点中除有prior,data和 next这3个域外,还有一个访问频度域 freq,在链表被启用前其值均初始化为0.每当在在链表上进行一次查找操作Locate(L, x)时,令元素值为x的结点中的freq域的值增加1,并使此链表中的结点保持按访问频度域递减的顺序排列,以便使频繁访问的结点总是靠近表头 (1)首先创建一个双链表. (2) 设计一个符合上述要求的Locate(L, x)函数. (3) 具有输出显示访问频度功能. (4) 要求程序通过一个主菜单进行控制,在主

LVS(DR)+keepalived+nfs+raid+LVM

LVS理论篇 1.Client 向目标VIP 发出请求,Director(负载均衡器)接收.此时IP 包头及数据帧信息为:       2.Director 根据负载均衡算法选择RealServer_1,不修改也不封装IP 报文,而是将数据帧的MAC 地址改为RealServer_1 的MAC 地址,然后在局域网上发送.IP 包头及数据帧头信息如下:   3.RealServer_1 收到这个帧,解封装后发现目标IP 与本机匹配(RealServer 事先绑定了VIP,必须的!)于是处理这个报文

DES加密与解密(c语言版)

其实是作业啦,写这个东西花了我不少时间,明天就是deadline了,熬夜至凌晨写完的,放在这里做个纪念,代码遵循GPL协议,可随意下载,修改,共享. 文中有许多注释掉的东西,是测试的时候用的. #include <string.h> #include <stdio.h> class DES { public: ~DES() {} void setkey(const unsigned char *); void enctransform(const unsigned char *,u

第一章 Google软件测试介绍

1.在Google,软件测试团队归属于一个被称为"工程生产力"(Engineering Productivity,工程效率或工程生产率)的中心组织部门,这个部门的职责横跨开发测试人员使用工具的研发.产品发布和各种级别的测试,从单元级别的测试到探索性级别的测试.Google拥有大量针对互联网产品的共享工具与测试基础框架,服务于包括搜索.广告.Apps.YouTube视频和其他我们在Web上提供的产品. 2.Google是一家以创新和速度为基础的公司,快速地发布有用的代码(如果失败,也只有

Python编程从入门到实践(基础入门) &#646888;

原文: http://blog.gqylpy.com/gqy/468 置顶:来自一名75后老程序员的武林秘籍--必读(博主推荐) 来,先呈上武林秘籍链接:http://blog.gqylpy.com/gqy/401/ 你好,我是一名极客!一个 75 后的老工程师! 我将花两分钟,表述清楚我让你读这段文字的目的! 如果你看过武侠小说,你可以把这个经历理解为,你失足落入一个山洞遇到了一位垂暮的老者!而这位老者打算传你一套武功秘籍! 没错,我就是这个老者! 干研发 20 多年了!我也年轻过,奋斗过!我

最全shell脚本语句语法使用(超详细)

博文大纲: 1.对谈式脚本--read语句 2.shell脚本中的测试的字符 3.判断脚本举例 4.条件判断--if语句 5.条件判断--case语句 6.条件判断--function函数结合case语句 7.循环判断--while.until语句 8.固定循环--for...do...done语句 9.循环--cut.set结合for语句 10.其他脚本类型举例 11.shell脚本的追踪与debug shell脚本的编写越规范越好,那么通常在每个shell脚本的开头几行会有如下几个方面相关的

nginx之旅(第二篇):nginx日志管理、nginx防盗链、nginx虚拟主机

一.nginx日志管理 Nginx访问日志主要有两个参数控制 1) log_format #用来定义记录日志的格式(可以定义多种日志格式,取不不同名字即可) log_format log_name string 2) access_log #用来指定日至文件的路路径及使用的何种日志格式记录日志 access_log logs/access.log main; log_format格式变量含义: 字段 含义 remote_addr 客户端地址 remote_user 客户端用户名 time_loc

e可劲儿靠天靠地

http://www.wasu.cn/Search/show/k/%E2%96%A0%E5%95%86%E6%B4%9B%E5%86%B0%E6%AF%92%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0Q%EF%BC%91%EF%BC%95%EF%BC%97%EF%BC%93%EF%BC%91%EF%BC%95%EF%BC%99%EF%BC%93%E3%80%92 http://www.wasu.cn/Search/show/k/%E2%96%83%E5%85%B4%E

HDU4081 Qin Shi Huang&#39;s National Road System【Kruska】【次小生成树】

Qin Shi Huang's National Road System Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3979    Accepted Submission(s): 1372 Problem Description During the Warring States Period of ancient China(4