table_size.js
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:2k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "Insert Row";
- txtLang[1].innerHTML = "Insert Column";
- txtLang[2].innerHTML = "Increase/Decrease<br>Rowspan";
- txtLang[3].innerHTML = "Increase/Decrease<br>Colspan";
- txtLang[4].innerHTML = "Delete Row";
- txtLang[5].innerHTML = "Delete Column";
- document.getElementById("btnInsRowAbove").title="Insert Row (Above)";
- document.getElementById("btnInsRowBelow").title="Insert Row (Below)";
- document.getElementById("btnInsColLeft").title="Insert Column (Left)";
- document.getElementById("btnInsColRight").title="Insert Column (Right)";
- document.getElementById("btnIncRowSpan").title="Increase Rowspan";
- document.getElementById("btnDecRowSpan").title="Decrease Rowspan";
- document.getElementById("btnIncColSpan").title="Increase Colspan";
- document.getElementById("btnDecColSpan").title="Decrease Colspan";
- document.getElementById("btnDelRow").title="Delete Row";
- document.getElementById("btnDelCol").title="Delete Column";
- document.getElementById("btnClose").value = " close ";
- }
- function getText(s)
- {
- switch(s)
- {
- case "Cannot delete column.":
- return "Cannot delete column. The column contains spanned cells from another column. Please remove the span first.";
- case "Cannot delete row.":
- return "Cannot delete row. The row contains spanned cells from another rows. Please remove the span first.";
- default:return "";
- }
- }
- function writeTitle()
- {
- document.write("<title>Table Size</title>")
- }