预览提交的内容

 function Dvbbs_ViewCode(replyid) {
     var bodyTag = "<html><head><style type=text/css>.quote{margin:5px 20px;border:1px solid #CCCCCC;padding:5px; background:#F3F3F3 }/nbody{boder:0px}.HtmlCode{margin:5px 20px;border:1px solid #CCCCCC;padding:5px;background:#FDFDDF;font-size:14px;font-family:Tahoma;font-style : oblique;line-height : normal ;font-weight:bold;}/nbody{boder:0px}</style></head><body bgcolor=/"#FFFFFF / " >";
     bodyTag += document.getElementById('scode' + replyid).CodeText.value;
     bodyTag += "</body></html>";
     preWin = window.open('preview', '', 'left=0,top=0,width=550,height=400,resizable=1,scrollbars=1, status=1, toolbar=1, menubar=0');
     preWin.document.open();
     preWin.document.write(bodyTag);
     preWin.document.close();
     preWin.document.title = "查看贴子内容";
     preWin.document.charset = "UTF-8";
 }

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

相关文章

开始在上面输入您的搜索词,然后按回车进行搜索。按ESC取消。

返回顶部