FCKeditor 使用
?<meta name="robots" content="noindex, nofollow" />
?<link href="../sample.css" rel="stylesheet" type="text/css" />
?<script type="text/javascript" style="max-width: 100%;height: auto;width: auto\9;" src="http://www.reader8.com/fckeditor.js"></script>
?<script type="text/javascript">
?oFCKeditor.Height = 300;
?oFCKeditor.Width = 600;
?oFCKeditor.ToolbarSet = "Custom" ;
?oFCKeditor.Value = "";
?oFCKeditor.ReplaceTextarea();
}
</script>
</head>
<body>
?<h1>
??FCKeditor - JavaScript - Sample My</h1>
?<div>
??This sample displays a normal HTML form with an FCKeditor with full features enabled.
??It uses the "ReplaceTextarea" command to create the editor.
?</div>
?<hr />
?<form action="" method="post" target="_blank">
??<div>
???<textarea name="body" rows="10" cols="80" style="width: 100%; height: 200px"></textarea>
??</div>
??<br />
??<input type="submit" value="Submit" />
?</form>
</body>
</html>