怎样把html的表格放到Flash中呢?
textListener = new Object();
textListener.handleEvent = function (evt){
if (comment.length < 1) {
Alert(_root, "错误", "您必须在此字段中至少输入一个注释", mxModal | mxOK);
}
}
comment.addEventListener("focusOut", textListener);
var login = comment.text;
var displayInfo="";
displayInfo+="<html><body>";
displayInfo+="<table id=table1 name=testtable bgcolor=\"#0000CC\" width=\"50%\" border=\"1\">";
displayInfo+="<tr id=tr1>";
displayInfo+="<td width=\"24%\">asdfasdfasdf</td>";
displayInfo+="<td width=\"32%\"> </td>";
displayInfo+="<td width=\"44%\"> </td>";
displayInfo+="</tr>";
displayInfo+="</table>";
displayInfo+="</body></html>";
comment.text=displayInfo;//空白没有显示
//comment.text="asdf";// 去除注释有显示
相关推荐
Web前端开发经典面试题(附参考答案)
Web前端开发工程师经典面试题(附参考答案)
在线预览文档flash版(支持word、excel、ppt、pdf)+在线预览文档html版
在线预览文档flash版(支持word、excel、ppt、pdf)+在线预览文档html版
flash素材 html素材
flash素材 html素材这是做网页时有时用到的一些素材,收集的,效果还行。你可以用用。
HTML表格标记教程(34):跨行属性ROWSPAN
在复杂的表格结构中,有的单元格在水平方向上是跨多个单元格的,这就需要使用跨行属性ROWSPAN。 基本语法 语法解释 VALUE代表单元格跨的行数。 文件范例:10-32.htm 通过ROWSPAN属性实现跨行的单元格。01 <!– —————————— –>02 <!– 文件范例:10-32.htm –>03 <!– 文件说明:设定跨行的表格 –>04 <!– —————————— –>05 <HTML>06 <HEAD>07 <TITLE>设定跨行的表格</TITLE>08 </HEAD>09 <BODY>10 <TABLE BORDER=3 WIDT
HTML表格标记教程(2):表格的边框属性BORDER
默认情况下,表格的边框为0,我们可以为表格设置边框线。 基本语法 <TABLE BORDER=VALUE> 语法解释 通过BORDER属性定义边框线的宽度,单位为像素。 文件范例:10-2.htm 设定边框线的宽度。01 <!– —————————— –>02 <!– 文件范例:10-2.htm –>03 <!– 文件说明:设定表格的边框宽度 –>04 <!– —————————— –>05 <HTML>06 <HEAD>07 <TITLE>设定表格的边框宽度</TITLE>08 </HEAD>09 <BODY>10 <H1>主流的网页设计软件</H1>11 <TABLE BORDER=1>1


