WebRoot/eWebEditor_V4.60/js/table.js
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
*######################################
* eWebEditor v4.00 - Advanced online web based WYSIWYG HTML editor.
* Copyright (c) 2003-2007 eWebSoft.com
*
* For further information go to http://www.ewebsoft.com/
* This copyright notice MUST stay intact for use.
*######################################
*/
var selectedTD
var selectedTR
var selectedTBODY
var selectedTable
function TableInsert(){
if (!isTableSelected()){
showDialog('table.htm', true);
}
}
function TableProp(){
if (isTableSelected()||isCursorInTableCell()){
showDialog('table.htm?action=modify', true);
}
}
function TableCellProp(){
if (isCursorInTableCell()){
showDialog('tablecell.htm', true);
}
}
function TableCellSplit(){
if (isCursorInTableCell()){
showDialog('tablecellsplit.htm',true);
}
}
function TableRowProp(){
if (isCursorInTableCell()){
showDialog('tablecell.htm?action=row', true);
}
}
function TableRowInsertAbove() {
if (isCursorInTableCell()){
var numCols = 0
allCells = selectedTR.cells
for (var i=0;i<allCells.length;i++) {
numCols = numCols + allCells[i].getAttribute('colSpan')
}
var newTR = selectedTable.insertRow(selectedTR.rowIndex)
for (i = 0; i < numCols; i++) {
newTD = newTR.insertCell()
newTD.innerHTML = " "
后面还有 299 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
