Modificare il file:
\FckEditor\plugins\maximize\fckplugin.js
var FCKmaximizeCommand = function() { this.Name = 'maximize'; } FCKmaximizeCommand.prototype.Execute = function() { editorArea = window.parent.document.getElementById(FCK.Name+"___Frame") if(!FCKConfig.maximized){ FCKConfig.editorWidth = editorArea.width FCKConfig.editorHeight = editorArea.height } editorArea.style.position = 'absolute' editorArea.style.left = "0px" editorArea.style.top = "0px" //FCKBrowserInfo.IsGecko //FCKBrowserInfo.IsNetscape if(!FCKBrowserInfo.IsIE){ newWidth = window.parent.window.innerWidth newHeight = window.parent.window.innerHeight }else{ newWidth = window.parent.document.body.clientWidth newHeight = window.parent.document.body.clientHeight } editorArea.style.width = newWidth+"px" editorArea.style.height = newHeight+"px" editorArea.width=newWidth editorArea.height=newHeight if(!FCKBrowserInfo.IsIE){ editorArea.style.visibility = "hidden" FCK.SwitchEditMode() FCK.SwitchEditMode() editorArea.style.visibility = "visible" } FCK.Focus() FCKConfig.maximized = true } FCKmaximizeCommand.prototype.GetState = function() { return FCK_TRISTATE_OFF; } FCKCommands.RegisterCommand( 'maximize', new FCKmaximizeCommand()); var omaximizeItem = new FCKToolbarButton( 'maximize', '' ) ; omaximizeItem.IconPath = FCKConfig.PluginsPath + 'maximize/maximize.gif' ; omaximizeItem.Tooltip = FCKLang.maximizeWinTooltip FCKToolbarItems.RegisterItem( 'maximize', omaximizeItem ) ;
[
Íàçàä
]