1000);}functionjudge_move(){move[0].disabled=(cur_row==null||cur_row<=1);move[1].disabled=(cur_row==null||cur_row==Main_Tab.rows.length-1||cur_row==0);move[2].disabled=(cur_col==null||cur_col==0);move[3].disabled=(cur_col==null||cur_col==Main_Tab.rows[0].cells.length-1);}document.onselectstart=function(){returnfalse;}document.onmouseup=drag_end;functionclear_color(){the_table=Main_Tab;if(cur_col!
100);setInterval("showContent.value=Main_Tab.innerHTML;monitor.value='cur_row:'+cur_row+';cur_col:'+cur_col+';sort_col:'+sort_col",
登录注册SanvStudio博客微博相册收留言关于我longware超级表格J#UP代码:butumustheldallthecopyrightitems!"td");if(the_td==null)return;dragStart=true;dragColStart=the_td.cellIndex;drag.style.width=the_td.offsetWidth;drag.style.height=the_td.offsetHeight;functiondocument.onmousemove(){drag.style.display="";drag.style.top=eve人和代账公司 <HTML><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>PowerTable</title><style>body{FONT-SIZE:9pt;PADDING-RIGHT:0px;PADDING-LEFT:0px;PADDING-BOTTOM:0px;PADDING-TOP:0px;}input{FONT-SIZE:9pt;height:15pt;width:50px;cursor:default;}table{font-size:9pt;word-break:break-all;cursor:default;BORDER:black1pxsolid;background-color:#eeeecc;border-collapse:collapse;border-Color:#;align:center;}</style><scriptlanguage="JavaScript1.2">/*ThisfollowingcodearedesignedandwritenbyWindy_sk<>Youcanuseitfreely,the_tag){the_tag=the_tag.toLowerCase();if(the_ele.tagName.toLowerCase()==the_tag)returnthe_ele;while(the_ele=the_ele.offsetParent){if(the_ele.tagName.toLowerCase()==the_tag)returnthe_ele;}return(null);}vardragStart=false;vardragColStart=null;vardragColEnd=null;functiondrag_start(){varthe_td=get_Element(event.srcElement,江北区公司注销=null){for(i=0;i<the_table.rows.length;i++){with(the_table.rows[i].cells[cur_col]){style.backgroundColor=oBgc;style.color=oFc;}}}if(cur_row!=null){for(i=0;i<the_table.rows[cur_row].cells.length;i++){with(the_table.rows[cur_row].cells[i]){style.backgroundColor=oBgc;style.color=oFc;}}}if(cur_cell! 超级表格-SanvStudio-ITeye博客页资讯精华论坛问答博客专栏群组更多▼知识库搜索您还未登录!=null){cur_cell.children[0].contentEditable=false;with(cur_cell.children[0].runtimeStyle){borderLeft=borderTop="";borderRight=borderBottom="";backgroundColor="";paddingLeft="";textAlign="";}}}functiondocument.onclick(){window.status="";clear_color();cur_row=null;cur_col=null;cur_cell=null;}functionread_def(the_table){for(vari=0;i<the_table.rows.length;i++){for(varj=0;j<the_table.rows[i].cells.length;j++){with(the_table.rows[i]){cells[j].oBgc=cells[j].currentStyle.backgroundColor;cells[j].oFc=cells[j].currentStyle.color;if(i==0){cells[j].onmousedown=drag_start;cells[j].onmouseup=drag_end;}}}}}functionget_Element(the_ele,