动网7.0 里的 UBB 和高级编辑模式如何分离出来大家使用
发表于:2007-06-30来源:作者:点击数:
标签:
请问各位大吓 : 在最近 动网出版的7.0论坛里 他们在发布新帖子的时候使用了一个高级模式和UBB 模式 , 我很喜欢他们这个。 ASP CHINA的人员可以帮我们分离出来 并说明 发布出去给大家使用吗 ? 我在测试中代码 如下: 如果不知道的 可以到动网去下载 整个程
请问各位大吓 :
在最近 动网出版的7.0
论坛里 他们在发布新帖子的时候使用了一个高级模式和UBB 模式 , 我很喜欢他们这个。
ASP CHINA的人员可以帮我们分离出来 并说明 发布出去给大家使用吗
?
我在测试中代码 如下:
如果不知道的 可以到动网去
下载 整个程序来分离一下
http://bbs.dvbbs.net
里面使用的文件 : post.asp
而他的代码都在
数据库里 请各位高手帮小弟弟分一下
我想如果作成DW 的插件 可是一个很好的东西哦
<link rel="STYLESHEET" type="text/css" href="images/post/edit.css">
<table id="Dvbbs_Container" class="Dvbbs_Body" height="300" width="590" cellpadding=3 cellspacing=0 border=0>
<tr>
<
td>
<table cellpadding=0 cellspacing=0 >
<tr class="yToolbar" ID="ExtToolbar0" >
<td>
<select ID="Dvbbs_formatSelect" class="Dvbbs_TBGen" onchange="Dvbbs_doSelectClick(@#FormatBlock@#,this)">
<option>段落格式</option>
<option VALUE="<P>">普通格式
<option VALUE="<H1>">标题 1
<option VALUE="<H2>">标题 2
<option VALUE="<H3>">标题 3
<option VALUE="<H4>">标题 4
<option VALUE="<H5>">标题 5
<option VALUE="<H6>">标题 6
<option VALUE="<H7>">标题 7
<option VALUE="<PRE>">已编排格式
<option VALUE="<ADDRESS>">地址
</td>
<td>
<select language="
javascript" class="Dvbbs_TBGen" id="FontName" onchange="FormatText (@#fontname@#,this[this.selectedIndex].value);">
<option class="heading" selected>字体
<option value="宋体">宋体
<option value="黑体">黑体
<option value="楷体_GB2312">楷体
<option value="仿宋_GB2312">仿宋
<option value="隶书">隶书
<option value="幼圆">幼圆
<option value="新宋体">新宋体
<option value="细明体">细明体
<option value="Arial">Arial
<option value="Arial Black">Arial Black
<option value="Arial Narrow">Arial Narrow
<option value="Bradley Hand ITC">Bradley Hand ITC
<option value="Brush Script MT">Brush Script MT
<option value="Century Gothic">Century Gothic
<option value="Comic Sans MS">Comic Sans MS
<option value="Courier">Courier
<option value="Courier New">Courier New
<option value="MS Sans Serif">MS Sans Serif
<option value="Script">Script
<option value="System">System
<option value="Times New Roman">Times New Roman
<option value="Viner Hand ITC">Viner Hand ITC
<option value="Verdana">Verdana
<option value="Wide Latin">Wide Latin
<option value="Wingdings">Wingdings</option>
</select>
<select language="javascript" class="Dvbbs_TBGen" id="FontSize" onchange="FormatText(@#fontsize@#,this[this.selectedIndex].value);">
<option class="heading" selected>字号
<oā??ption value="1">1
<option value="2">2
<option value="3">3
<option value="4">4
<option value="5">5
<option value="6">6
<option value="7">7</option>
</select>
</td>
<td id="forecolor" name=forecolor class="Dvbbs_Btn" TITLE="字体颜色" LANGUAGE="javascript" onclick="Dvbbs_foreColor();this.className=@#Dvbbs_TabOn@#;" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/fgcolor.gif" WIDTH="16" HEIGHT="16" unselectable="on" >
</td>
<td id="backcolor" class="Dvbbs_Btn" TITLE="字体背景颜色" LANGUAGE="javascript" onclick="Dvbbs_backColor();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img class="Dvbbs_Ico" src="images/post/fbcolor.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入特殊符号" LANGUAGE="javascript" onclick="insertSpecialChar();this.className=@#Dvbbs_TabOn@#;" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img class="Dvbbs_Ico" src="images/post/specialchar.gif" ></td>
<td><img src="images/post/separator.gif">
</td>
<td class="Dvbbs_Btn" TITLE="替换" LANGUAGE="javascript" onclick="Dvbbs_replace();this.className=@#Dvbbs_TabOn@#;" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img class="Dvbbs_Ico" src="images/post/replace.gif" WIDTH="16" HEIGHT="16">
</td>
<td class="Dvbbs_Btn" TITLE="清理代码" LANGUAGE="javascript" onclick="Dvbbs_CleanCode();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img class="Dvbbs_Ico" src="images/post/cleancode.gif" WIDTH="16" HEIGHT="16"></td>
<td class="Dvbbs_Btn" TITLE="心情图标" LANGUAGE="javascript" onclick="openEditScript(@#smiley.asp@#,450,250);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img clasā??s="Dvbbs_Ico" src="images/post/smiley.gif" ></td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="帮助" LANGUAGE="javascript" onclick="Dvbbs_help();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#;>
<img class="Dvbbs_Ico" src="images/post/help.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td>
<select ID="Zoom" class="Dvbbs_TBGen" onchange="doZoom(this)" >
<option VALUE="100">100%
<option VALUE="50">50%
<option VALUE="75">75%
<option VALUE="100">100%
<option VALUE="125">125%
<option VALUE="150">150%
<option VALUE="175">175%
<option VALUE="200">200%</option>
</select>
</td>
</tr>
</table>
<table cellpadding=0 cellspacing=0 >
<tr class="yToolbar" ID="ExtToolbar1">
<td class="Dvbbs_Btn" TITLE="全选" LANGUAGE="javascript" onclick="FormatText(@#selectAll@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@# >
<img class="Dvbbs_Ico" src="images/post/selectAll.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="剪切" LANGUAGE="javascript" onclick="FormatText(@#cut@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/cut.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="复制" LANGUAGE="javascript" onclick="FormatText(@#copy@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/copy.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="粘贴" LANGUAGE="javascript" onclick="FormatText(@#paste@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/paste.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="撤消" LANGUAGE="javascript" onclick="FormatText(@#undo@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/undo.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="恢复" LANGUAGE="javascript" onclick="FormatText(@#redo@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/redo.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="插入超级链接" LANGUAGE="javascript" onclick="Dvbbs_UserDialog(@#CreateLink@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/wlink.gif" WIDTH="18" HEIGHT="18" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="去掉超级链接" LANGUAGE="javascript" onclick="FormatText(@#Unlink@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/unlink.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入图片" LANGUAGE="javascript" onclick="Dvbbs_UserDialog(@#InsertImage@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/img.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入水平线" LANGUAGE="javascript" onclick="FormatText(@#InsertHorizontalRule@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmā??ouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/hr.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="插入表格" LANGUAGE="javascript" onclick="Dvbbs_fortable();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/table.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入行" LANGUAGE="javascript" onclick="Dvbbs_InsertRow();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/insertrow.gif" WIDTH="16" HEIGHT="16">
</td>
<td class="Dvbbs_Btn" TITLE="删除行" LANGUAGE="javascript" onclick="Dvbbs_DeleteRow();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/deleterow.gif" WIDTH="16" HEIGHT="16">
</td>
<td class="Dvbbs_Btn" TITLE="插入列" LANGUAGE="javascript" onclick="Dvbbs_InsertColumn();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/insertcolumn.gif" WIDTH="16" HEIGHT="16">
</td>
<td class="Dvbbs_Btn" TITLE="删除列" LANGUAGE="javascript" onclick="Dvbbs_DeleteColumn();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/deletecolumn.gif" WIDTH="16" HEIGHT="16">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="插入Flash" LANGUAGE="javascript" onclick="Dvbbs_forswf();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.classā??Name=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/swf.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入
Windows Media" LANGUAGE="javascript" onclick="Dvbbs_forwmv();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/wmv.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入Real Media" LANGUAGE="javascript" onclick="Dvbbs_forrm();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/rm.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td></tr>
</table>
<table cellpadding=0 cellspacing=0 >
<tr class="yToolbar" ID="ExtToolbar2">
<td class="Dvbbs_Btn" TITLE="加粗" LANGUAGE="javascript" onclick="FormatText(@#bold@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/bold.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="斜体" LANGUAGE="javascript" onclick="FormatText(@#italic@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/italic.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="下划线" LANGUAGE="javascript" onclick="FormatText(@#underline@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/underline.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="上标" LANGUAGE="javascript" onclick="FormatText(@#superscript@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouā??seover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/superscript.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="下标" LANGUAGE="javascript" onclick="FormatText(@#subscript@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/subscript.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="删除线" LANGUAGE="javascript" onclick="FormatText(@#strikethrough@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/strikethrough.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="取消格式" LANGUAGE="javascript" onclick="FormatText(@#RemoveFormat@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/removeformat.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="左对齐" NAME="Justify" LANGUAGE="javascript" onclick="FormatText(@#justifyleft@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/aleft.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="居中" NAME="Justify" LANGUAGE="javascript" onclick="FormatText(@#justifycenter@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/center.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="右对齐" NAME="Jusā??tify" LANGUAGE="javascript" onclick="FormatText(@#justifyright@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/aright.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="编号" LANGUAGE="javascript" onclick="FormatText(@#insertorderedlist@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/n
umlist.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="项目符号" LANGUAGE="javascript" onclick="FormatText(@#insertunorderedlist@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/bullist.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="减少缩进量" LANGUAGE="javascript" onclick="FormatText(@#outdent@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/outdent.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="增加缩进量" LANGUAGE="javascript" onclick="FormatText(@#indent@#, @#@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/indent.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td><img src="images/post/separator.gif"></td>
<td class="Dvbbs_Btn" TITLE="插入引用" LANGUAGE="javascript" onclick="Dvbbs_specialtype(@#<div class=quote>@#,@#</div>@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Bā??tn@#; >
<img class="Dvbbs_Ico" src="images/post/quote.gif" WIDTH="16" HEIGHT="16"></td>
<td class="Dvbbs_Btn" TITLE="插入代码" LANGUAGE="javascript" onclick="Dvbbs_code();this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; ><img class="Dvbbs_Ico" src="images/post/code.gif" WIDTH="16" HEIGHT="16"></td>
<td class="Dvbbs_Btn" TITLE="插入广告" LANGUAGE="javascript" onclick="Dvbbs_InsertSymbol(@#[dvnews_ad]@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/ad.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
<td class="Dvbbs_Btn" TITLE="插入分页" LANGUAGE="javascript" onclick="Dvbbs_InsertSymbol(@#[dvnews_page]@#);this.className=@#Dvbbs_TabOn@#;ondrag=@#return false;@#" onmouseover=this.className=@#Dvbbs_BtnMouseOverUp@#; onmouseout=this.className=@#Dvbbs_Btn@#; >
<img class="Dvbbs_Ico" src="images/post/insertpage.gif" WIDTH="16" HEIGHT="16" unselectable="on">
</td>
</tr></table>
<table cellpadding=0 cellspacing=0 >
<tr class="yToolbar" id="old_Toolbars" style="display:none"><td>
{$old_oldToolbars}
<!--post.asp##ubb部分End-->
</td></tr>
</table>
</td></tr>
<tr><td height="100%">
<iframe class="Dvbbs_Composition" ID="Dvbbs_Composition" MARGINHEIGHT="5" MARGINWIDTH="5" width="100%" height="100%" ></iframe>
</td></tr>
<tr><td><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 width=@#100%@#><TR><
TD width=@#10@#> </TD>
<TD CLASS="Dvbbs_TabOn" id="Dvbbs_TabDesign" onClick="if (Dvbbs_bTextMode!=1) {Dvbbs_setMode(1);}" unselectable="on" width=@#60@# >
<IMG unselectable="on" SRC="images/post/mode.design.gif" ALIGN="absmiddle" width=21 height=20> Design</TD>
<td style="width:10px"></td>
<TD CLASS="Dvbbs_TabOff" id="Dvbbs_TabView" onClick="Dvbbs_View();" unselectable="on" width=@#60@# >
<IMG unselectable="on" SRC="images/post/mode.view.gif" ALIGN="absmiddle" width=20 height=20> VIEW
</TD>
<td style="ā??width:10px"></td>
<TD CLASS="Dvbbs_TabOff" id="Dvbbs_TabOldTools" onClick="if (Dvbbs_bTextMode!=3){Dvbbs_setMode(3);}" unselectable="on" width=@#80@#>
<IMG unselectable="on" SRC="images/post/oldubb.gif" ALIGN="absmiddle" height=20> UBB模式
</TD>
<td style="width:10px"></td>
<TD id="Dvbbs_TabHtml" width=@#50@#>
</TD>
<TD align=@#right@#><a href="javascript:Dvbbs_Size(-300)"><img src="images/post/minus.gif" unselectable="on" border=@#0@#></a> <a href="javascript:Dvbbs_Size(300)"><img src="images/post/plus.gif" unselectable="on" border=@#0@#></a></TD><TD width=@#20@#></TD></TR></TABLE></td></tr></table>
<Script>
var Dvbbs_bIsIE5=document.all
if (Dvbbs_bIsIE5){
var IframeID=frames["Dvbbs_Composition"];
}
else{
var IframeID=document.getElementById("Dvbbs_Composition").contentWindow;
var Dvbbs_bIsNC=true;
}
if (Dvbbs_bLoad==false)
{
Dvbbs_InitDocument("Body","GB2312");
}
</Script>
<table width="572" height="232">
<tr><td height="100%">
<iframe src="" width="100%" MARGINWIDTH="5" height="100%" MARGINHEIGHT="5" scrolling="auto" class="Dvbbs_Composition" ID="Dvbbs_Composition" >gfdgda</iframe>
</td></tr></table>
原文转自:http://www.ltesting.net