umis.js
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:1k
- // JavaScript Document
- function hidden_top(){
- if (switchPointTop.innerText==5){
- switchPointTop.innerText=6
- document.all("top").style.display="none"
- }
- else{
- switchPointTop.innerText=5
- document.all("top").style.display=""
- }
- }
- function hidden_left(){
- if (switchPointLeft.innerText==3){
- switchPointLeft.innerText=4
- document.all("left").style.display="none"
- }
- else{
- switchPointLeft.innerText=3
- document.all("left").style.display=""
- }
- }
- var selectedrow = 0;
- function clickrow(row) {
- //清空上一次选中的状态
- if(selectedrow%2==1)
- {
- color="single";
- }
- else
- {
- color="double";
- }
- if(selectedrow>0)
- {
- eval("row" + selectedrow).className=color;
- eval("document.all.pic" + selectedrow).style.display="none";
- }
- if(selectedrow==row)
- {
-
- eval("row" + selectedrow).className=color;
- eval("document.all.pic" + selectedrow).style.display="none";
- selectedrow = 0;
- }
- else
- {
- selectedrow = row;
- eval("row" + selectedrow).className="clicked";
- eval("document.all.pic" + selectedrow).style.display="";
- }
- }
- function changecolor(co,color,row)
- {
- if(selectedrow==0)
- {
- if(row=="on")
- {
- eval("row" + co).className="overed";
- eval("document.all.pic" + co).style.display="";
- }
- else
- {
- eval("row" + co).className = color;
- eval("document.all.pic" + co).style.display="none";
- }
- }
- }
- function window_open(urll,nn)
- {
- window.open(urll,nn);
- }