看我编写的办公一个例子:绝对全乐!

来源:岁月联盟 编辑:zhuzhu 时间:2003-07-11
<!--
---------------------------------------------------------
- Title : 天路办公系统
- Desc  : asp+com的标准办公系统
- Ver   : Ver1.0
- Author: zxn(comezxn@163.com)
- LastUpdate: 2002-3-29
---------------------------------------------------------
- Apply in <贸促会办公系统>
- Start at 未定
- Contact with 天乐 (comezxn@163.com)
- This Connection created at 1998-5-16 10:05:59
----------------------------------------------------------
-->
<html>
<head>
<meta HTTP-EQUIV='Content-Type' content='text/html; charset=gb2312'>
<link rel='stylesheet' type='text/css' href='/css/css.css'>
<title>贸促会办公系统</title>
</head>

<script language="JavaScript">
<!--
var onecount;
onecount=0;
subcat = new Array();
        
subcat[0] = new Array("李某","4","4");
        
subcat[1] = new Array("系统管理员","3","2");
        
subcat[2] = new Array("天乐","2","3");
        
subcat[3] = new Array("测试员","1","1");
        
onecount=4;

//改变
function changesection(selectedvalue)
    {
    document.theForm.list1.length = 0;
    var selectid=selectedvalue;
    var i;
    for (i=0;i < onecount; i++)
        {
            if (subcat[i][2] == selectid)
            {
                document.theForm.list1.options[document.theForm.list1.length] = new Option(subcat[i][0], subcat[i][1]);
            }
        }
        
    }    

//初始化列出全部人员
function Listsenction(){
    for (i=0;i < onecount; i++)
        {
         document.theForm.list1.options[document.theForm.list1.length] = new Option(subcat[i][0], subcat[i][1]);
        }
        
    }

//上下移动
//function Singlemove(a,selectedvalue){
//document.theForm.list2.selectedindex=document.theForm.list2.selectedindex+a
/