簡易用法
- 在<head></head>引入FCKedit。
<script type="text/javascript" src="includes/FCKeditor/fckeditor.js"></script> - 替換<textarea>。
<textarea name="description">sample</textarea>
<script type="text/javascript">
<!--
var oFCKeditor = new FCKeditor("description");
oFCKeditor.BasePath = "includes/FCKeditor/";
oFCKeditor.Height = "500";
oFCKeditor.ReplaceTextarea();
//-->
</script>
官方網站 http://www.fckeditor.net/
沒有留言:
張貼留言