产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

xiyou哥:产品名称可以加上编辑器吗? [复制链接]

1#
<td width="100px" height=25 >产品名称 <span style="colorff0000">*</span></td>
          <td><textarea name="TBname" id="TBname"></textarea>
          <script type="text/javascript" src="/incs/fckeditor/fckeditor.js"></script>
<script  type="text/javascript">
var FCKeditor = new FCKeditor("TBname");
FCKeditor.BasePath = "/incs/fckeditor/";
FCKeditor.Height = 200;
FCKeditor.Config['LinkBrowser'] = false ;
FCKeditor.Config['ImageBrowser'] =false ;
FCKeditor.Config['FlashBrowser'] = false ;
FCKeditor.Config['LinkUpload'] = true ;
FCKeditor.Config['ImageUpload'] = true ;
FCKeditor.Config['FlashUpload'] = true ;
FCKeditor.ToolbarSet ="Basic";
FCKeditor.ReplaceTextarea();
</script></td>
这个代码加上后没反应,错了吗?
分享 转发
TOP
2#

为什么要加编辑器?产品字段只有长度100,你加了编辑器就可能超出长度报错。
你可以新增加一个用编辑器的字段。
TOP
3#

具体怎操作啊?教教我吧,我想自已设置产品名称的字体,颜色等等
TOP
发新话题 回复该主题