2008年(14)
分类: 系统运维
2008-11-10 15:07:37
window.onload = function(){ var oFCKeditor = new FCKeditor( 'editor' ) ; oFCKeditor.BasePath = '../js/fckeditor/' ; oFCKeditor.ToolbarSet = 'zjc' ; oFCKeditor.Height=400; oFCKeditor.Width=550; oFCKeditor.ReplaceTextarea() ; } |
FCKConfig.ToolbarSets["Default"] = [ ['Source','DocProps','-','Save','NewPage','Preview','-','Templates'], ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], '/', ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-,'Outdent','Indent','Blockquote','CreateDiv'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ['Link','Unlink','Anchor'], ['Image','Flash','Table','Rule','Smiley','SpecialChar','PageBreak'], '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['FitWindow','ShowBlocks','-','About'] ] ; |
FCKConfig.ToolbarSets["zjc"] = [ ['Bold','Italic','Underline','TextColor','Image','Smiley','-,'Link','Unlink'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], '/', ['FontFormat','FontName','FontSize'] ] ; |