首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

FCKeditor 运用

2012-12-21 
FCKeditor 使用?meta namerobots contentnoindex, nofollow /?link href../sample.css rels

FCKeditor 使用

?<meta name="robots" content="noindex, nofollow" />
?<link href="../sample.css" rel="stylesheet" type="text/css" />
?<script type="text/javascript" src="../../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>

热点排行