日期:2014-05-16  浏览次数:20390 次

新手提问,关于鼠标事件执行顺序的问题
<html>
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 "   />
<title> 无标题文档 </title>
<style   type= "text/css ">
<!--
body   {
background-color:   #CCCCCC;
}
.txet   {
background-color:   #cccccc;
}
.mybutton   {
font-family:   "新宋体 ";
font-size:   9pt;
}
-->
</style>
<script   language= "javascript ">
<!--
var   num_hjj   =   0;
var   num_zjl   =   0;
var   num_hgz   =   0;
var   num_lxp   =   0;
var   num_zsh   =   0;
var   num_syz   =   0;

var   seconds   =   0;
var   minutes   =   0;
var   hours   =   0;

//改变
function   change_hjj(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_hjj ").style.width   =   ((num_hjj/(total))*100)+ "% ";
    document.mx.hjj_tj.value   =   Math.round((num_hjj/(total))*100)+ "% ";
return   ;
}
function   change_zjl(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_zjl ").style.width   =   ((num_zjl/(total))*100)+ "% ";
    document.mx.zjl_tj.value   =   Math.round((num_zjl/(total))*100)+ "% ";
return   ;
}
function   change_hgz(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_hgz ").style.width   =   ((num_hgz/(total))*100)+ "% ";
    document.mx.hgz_tj.value   =   Math.round((num_hgz/(total))*100)+ "% ";
return   ;
}
function   change_lxp(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_lxp ").style.width   =   ((num_lxp/(total))*100)+ "% ";
    document.mx.lxp_tj.value   =   Math.round((num_lxp/(total))*100)+ "% ";
return   ;
}
function   change_zsh(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_zsh ").style.width   =   ((num_zsh/(total))*100)+ "% ";
    document.mx.zsh_tj.value   =   Math.round((num_zsh/(total))*100)+ "% ";
return   ;
}
function   change_syz(){
var   total   =   num_hjj   +   num_hgz   +   num_lxp   +   num_zsh   +   num_syz   +   num_zjl;
    document.getElementById( "line_syz ").style.width   =   ((num_syz/(total))*100)+ "% ";
    document.mx.syz_tj.value   =   M