/plugin/wysiwyg/fckeditor/editor/_source/internals/ |
H A D | fcktools_ie.js | 24 FCKTools.CancelEvent = function( e ) 44 FCKTools.ClearElementAttributes = function( element ) 49 FCKTools.GetAllChildrenIds = function( parentElement ) 61 FCKTools.RemoveOuterTags = function( e ) 67 FCKTools.CreateXmlObject = function( object ) 97 FCKTools.DisableSelection = function( element ) 165 FCKTools.GetViewPaneSize = function( win ) 181 FCKTools.SaveStyles = function( element ) 201 FCKTools.RestoreFormStyles( element, data ) ; 210 FCKTools.RestoreFormStyles( element, data ) ; [all …]
|
H A D | fcktools_gecko.js | 24 FCKTools.CancelEvent = function( e ) 30 FCKTools.DisableSelection = function( element ) 59 FCKTools.ClearElementAttributes = function( element ) 98 FCKTools.RemoveOuterTags = function( e ) 108 FCKTools.CreateXmlObject = function( object ) 149 FCKTools.GetViewPaneSize = function( win ) 154 FCKTools.SaveStyles = function( element ) 156 var data = FCKTools.ProtectFormStyles( element ) ; 174 FCKTools.RestoreFormStyles( element, data ) ; 180 var data = FCKTools.ProtectFormStyles( element ) ; [all …]
|
H A D | fcktools.js | 24 var FCKTools = new Object() ; class 26 FCKTools.CreateBogusBR = function( targetDocument ) 61 FCKTools.GetElementWindow = function( element ) 87 FCKTools.HTMLEncode = function( text ) 99 FCKTools.HTMLDecode = function( text ) 365 FCKTools.IsStrictMode = function( document ) 394 FCKTools.AppendBogusBr = function( element ) 412 FCKTools.GetLastItem = function( list ) 520 FCKTools.Merge = function() 539 FCKTools.IsArray = function( it ) [all …]
|
H A D | fcktoolbarset.js | 75 var eToolbarIFrame = FCKTools.GetElementDocument( eToolbarTarget ).createElement( 'iframe' ) ; 96 FCKTools.AddEventListener( eTargetDocument, 'contextmenu', FCKTools.CancelEvent ) ; 100 FCKTools.AppendStyleSheet( eTargetDocument, FCKConfig.SkinPath + 'fck_editor.css' ) ; 164 FCKTools.AddEventListener( eExpandHandle, 'click', FCKToolbarSet_Expand_OnClick ) ; 167 FCKTools.AddEventListener( eCollapseHandle, 'click', FCKToolbarSet_Collapse_OnClick ) ; 220 FCKTools.RunFunction( window.onresize ) ; 301 FCKTools.DisableSelection( this._Document.getElementById( 'xCollapseHandle' ).parentNode ) ; 311 FCKTools.RunFunction( this.OnLoad ) ;
|
H A D | fck.js | 106 FCKTools.AddEventListener( document, "keydown", this._TabKeyHandler ) ; 249 value = FCKTools.HTMLEncode( value ) ; 572 FCKTools.RunFunction( FCK.ToolbarSet.RefreshModeState, FCK.ToolbarSet ) ; 602 FCKTools.AppendBogusBr( next ) ; 812 FCKTools.AddEventListener( FCK.EditorDocument, 'mousemove', _FCK_MouseEventsListener ) ; 814 FCKTools.AddEventListener( FCK.EditorDocument, 'mouseup', _FCK_MouseEventsListener ) ; 837 FCKTools.AddEventListener( FCK.EditorDocument, 'keyup', undoFunc ) ; 988 FCKTools.AddEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ; 999 FCKTools.RemoveEventListener( oTarget, 'blur', FCKFocusManager_Win_OnBlur ) ; 1000 FCKTools.RemoveEventListener( oTarget, 'focus', FCKFocusManager_Win_OnFocus_Area ) ; [all …]
|
H A D | fckdocumentprocessor.js | 160 …placeHolderImage.style.width = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.getAttribute( 'width… 163 …placeHolderImage.style.height = FCKTools.ConvertHtmlSizeToStyle( originalEmbed.getAttribute( 'heig… 173 e.width = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.width ) ; 176 e.height = FCKTools.ConvertStyleSizeToHtml( fakeElement.style.height ) ;
|
H A D | fcklisthandler.js | 33 var oDocument = FCKTools.GetElementDocument( listItem ) ; 110 eBlock.parentNode.insertBefore( FCKTools.CreateBogusBR( oDocument ), eBlock ) ; 112 FCKDomTools.InsertAfterNode( eBlock, FCKTools.CreateBogusBR( oDocument ) ) ;
|
H A D | fck_gecko.js | 53 text = FCKTools.HTMLEncode( text ) ; 54 text = FCKTools.ProcessLineBreaks( window, FCKConfig, text ) ; 116 var nextTextNode = FCKTools.GetNextTextNode( node, node.parentNode, blockEmptyStop ) ; 123 nextTextNode = FCKTools.GetNextTextNode( node, node.parentNode.parentNode, blockEmptyStop ) ; 208 FCKTools.AppendBogusBr( emptyBlockNode ) ; 407 …FCKTools.RunFunction( FCKDialog.OpenDialog, FCKDialog, ['FCKDialog_Paste', FCKLang.PasteAsText, 'd…
|
/plugin/wysiwyg/fckeditor/editor/_source/classes/ |
H A D | fckpanel.js | 91 FCKTools.AddEventListenerEx( oIFrameWindow, 'blur', FCKPanel_Window_OnBlur, this ) ; 96 FCKTools.AddEventListener( oDocument, 'contextmenu', FCKTools.CancelEvent ) ; 109 FCKTools.AppendStyleSheet( this.Document, styleSheet ) ; 159 this._Timer = FCKTools.SetInterval( CheckPopupOnHide, 100, this ) ; 191 var oPos = FCKTools.GetElementPosition( 212 var oViewPaneSize = FCKTools.GetViewPaneSize( this._Window ) ; 213 var oScrollPosition = FCKTools.GetScrollPosition( this._Window ) ; 247 FCKTools.RunFunction( this.OnShow, this ) ; 273 FCKTools.RunFunction( this.OnHide, this ) ; 318 FCKTools.RunFunction( panel.Hide, panel ) ; [all …]
|
H A D | fckmenuitem.js | 34 this.SubMenu.OnClick = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnClick, this ) ; 56 var oDoc = FCKTools.GetElementDocument( parentTable ) ; 65 FCKTools.AddEventListenerEx( r, 'mouseover', FCKMenuItem_OnMouseOver, [ this ] ) ; 66 FCKTools.AddEventListenerEx( r, 'click', FCKMenuItem_OnClick, [ this ] ) ; 69 FCKTools.AddEventListenerEx( r, 'mouseout', FCKMenuItem_OnMouseOut, [ this ] ) ; 96 this.SubMenu.Panel.OnHide = FCKTools.CreateEventListener( FCKMenuItem_SubMenu_OnHide, this ) ; 113 FCKTools.RunFunction( this.OnActivate, this ) ; 128 FCKTools.RunFunction( listeningItem.OnClick, listeningItem, [ clickedItem ] ) ; 143 FCKTools.RunFunction( menuItem.OnClick, menuItem, [ menuItem ] ) ;
|
H A D | fckmenublock.js | 39 oItem.OnClick = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ; 40 oItem.OnActivate = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ; 71 this._Window = FCKTools.GetElementWindow( parentElement ) ; 73 var oDoc = FCKTools.GetElementDocument( parentElement ) ; 79 FCKTools.DisableSelection( eTable ) ; 97 FCKTools.RunFunction( menuBlock.OnClick, menuBlock, [ clickedItem ] ) ; 136 var oDoc = FCKTools.GetElementDocument( parentTable ) ;
|
H A D | fckspecialcombo.js | 110 FCKTools.AddEventListenerEx( oDiv, 'mouseover', FCKSpecialCombo_ItemOnMouseOver ) ; 111 FCKTools.AddEventListenerEx( oDiv, 'mouseout', FCKSpecialCombo_ItemOnMouseOut ) ; 112 FCKTools.AddEventListenerEx( oDiv, 'click', FCKSpecialCombo_ItemOnClick, [ this, id ] ) ; 187 FCKTools.DisableSelection( labelEl ) ; 200 var oDoc = FCKTools.GetElementDocument( targetElement ) ; 233 var oField = FCKTools.AppendElement( eOuterTable.rows[0].insertCell(-1), 'div' ) ; 265 FCKTools.AddEventListenerEx( oField, 'mouseover', FCKSpecialCombo_OnMouseOver, this ) ; 266 FCKTools.AddEventListenerEx( oField, 'mouseout', FCKSpecialCombo_OnMouseOut, this ) ; 267 FCKTools.AddEventListenerEx( oField, 'click', FCKSpecialCombo_OnClick, this ) ; 269 FCKTools.DisableSelection( this._Panel.Document.body ) ;
|
H A D | fckeditingarea.js | 44 var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ; 157 FCKTools.RunFunction( this.OnLoad ) ; 176 FCKTools.RunFunction( oEditorArea.OnLoad ) ; 238 …FCKTools.AddEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document_At… 254 …editingArea._timer = FCKTools.SetTimeout( FCKEditingArea_MakeEditableByMutation, 1000, editingArea… 264 …FCKTools.RemoveEventListener( this.Window.frameElement, 'DOMAttrModified', FCKEditingArea_Document… 294 var oDoc = FCKTools.GetElementDocument( this.Textarea ) ;
|
H A D | fcktoolbarbuttonui.js | 49 var oDoc = FCKTools.GetElementDocument( parentElement ) ; 57 oMainElement.onmousedown = FCKTools.CancelEvent ; 59 FCKTools.AddEventListenerEx( oMainElement, 'mouseover', FCKToolbarButtonUI_OnMouseOver, this ) ; 60 FCKTools.AddEventListenerEx( oMainElement, 'mouseout', FCKToolbarButtonUI_OnMouseOut, this ) ; 61 FCKTools.AddEventListenerEx( oMainElement, 'click', FCKToolbarButtonUI_OnClick, this ) ;
|
H A D | fckcontextmenu.js | 39 oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ; 81 …FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu,… 97 FCKTools.CancelEvent( e ) ; 181 FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ; 208 FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ;
|
H A D | fckimagepreloader.js | 47 FCKTools.AddEventListenerEx( eImg, 'load', _FCKImagePreloader_OnImage, this ) ; 48 FCKTools.AddEventListenerEx( eImg, 'error', _FCKImagePreloader_OnImage, this ) ;
|
/plugin/wysiwyg/fckeditor/editor/plugins/dragresizetable/ |
H A D | fckplugin.js | 15 var myCoords = FCKTools.GetWindowPosition( w, domNode ) ; 46 var pos = FCKTools.GetWindowPosition( w, cells[i] ) ; 75 lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ; 85 var row = FCKTools.GetElementAscensor( this._RightCell, "tr" ) ; 334 FCKTools.GetElementAscensor( this._LeftCell, "table" ), 348 node = FCKTools.GetElementAscensor( node, "table" ) ; 364 FCKTools.GetElementAscensor( this._LeftCell, "table" ), 387 var docX = mouse.x + FCKTools.GetScrollPosition( window ).X ; 427 FCKTools.AddEventListener( filler, "dragstart", disabledListener ) ; 428 FCKTools.AddEventListener( filler, "selectstart", disabledListener ) ; [all …]
|
/plugin/fckg/fckeditor/editor/plugins/dragresizetable/ |
H A D | fckplugin.js | 16 var myCoords = FCKTools.GetWindowPosition( w, domNode ) ; 47 var pos = FCKTools.GetWindowPosition( w, cells[i] ) ; 76 lxDist = mouse.x - FCKTools.GetWindowPosition( w, lbCell ).x ; 86 var row = FCKTools.GetElementAscensor( this._RightCell, "tr" ) ; 310 if ( FCKTools.GetElementDocument( node ) == document ) 334 FCKTools.GetElementAscensor( this._LeftCell, "table" ), 348 node = FCKTools.GetElementAscensor( node, "table" ) ; 364 FCKTools.GetElementAscensor( this._LeftCell, "table" ), 374 if ( FCKTools.GetElementDocument( node ) == FCK.EditorDocument ) 387 var docX = mouse.x + FCKTools.GetScrollPosition( window ).X ; [all …]
|
/plugin/wysiwyg/fckeditor/editor/_source/commandclasses/ |
H A D | fckfitwindow.js | 50 this._ScrollPos = FCKTools.GetScrollPosition( eMainWindow ) ; 59 eParent._fckSavedStyles = FCKTools.SaveStyles( eParent ) ; 80 this._EditorFrameStyles = FCKTools.SaveStyles( eEditorFrame ) ; 83 var oViewPaneSize = FCKTools.GetViewPaneSize( eMainWindow ) ; 109 var editorPos = FCKTools.GetWindowPosition( eMainWindow, eEditorFrame ) ; 132 FCKTools.RestoreStyles( eParent, eParent._fckSavedStyles ) ; 142 FCKTools.RestoreStyles( eEditorFrame, this._EditorFrameStyles ) ; 174 var oViewPaneSize = FCKTools.GetViewPaneSize( parent ) ;
|
H A D | fcktextcolorcommand.js | 37 oWindow = FCKTools.GetElementWindow( FCK.ToolbarSet._IFrame ) ; 46 FCKTools.DisableSelection( this._Panel.Document.body ) ; 105 …lor', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, FCKTools.Hitch(command, 'S… 114 FCKTools.AddEventListenerEx( oDiv, 'mouseover', FCKTextColorCommand_OnMouseOver ) ; 115 FCKTools.AddEventListenerEx( oDiv, 'mouseout', FCKTextColorCommand_OnMouseOut ) ; 142 FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_AutoOnClick, this ) ; 165 FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_OnClick, [ this, colorName ] ) ; 178 FCKTools.AddEventListenerEx( oDiv, 'click', FCKTextColorCommand_MoreOnClick, this ) ;
|
/plugin/fckg/fckeditor/editor/js/ |
H A D | fckeditorcode_ie.js | 34 return FCKTools.GetStyleHtml(FCKConfig.EditorAreaCSS)+FCKTools.GetStyleHtml(FCKConfig.EditorAreaSty… 35 FCKTools.GetStyleHtml(FCKConfig.EditorAreaIEHackCSS);}; 51 …FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','… variable 52 FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.c… 54 …{var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnIma… 92 …FCKTools.GetScrollPosition(FCK.EditorWindow);}else{var I=FCK.EditingArea.Textarea;H=!FCKBrowserInf… 100 …FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.sc… 114 var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=FCKTools.GetEle… 116 …FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max… 117 …FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup… [all …]
|
H A D | fckeditorcode_gecko.js | 47 …FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','… variable 48 FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){… 50 …{var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnIma… 76 …ion.GetSelection();if (B.rangeCount==1&&B.anchorNode.nodeType==3){var C=FCKTools.GetElementAscenso… 84 …FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B)… 88 …FCKTools.GetScrollPosition(FCK.EditorWindow);}else{var I=FCK.EditingArea.Textarea;H=!FCKBrowserInf… 98 …FCKTools.ResetStyles(D);D.src='javascript:void(0)';D.allowTransparency=true;D.frameBorder='0';D.sc… 101 …FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;… 115 …FCKTools.IsStrictMode(E)?E.documentElement:E.body;FCKDomTools.SetElementStyles(C,{'width':Math.max… 116 …FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);this.CustomData=F;if (FCK.IECleanup… [all …]
|
/plugin/wysiwyg/fckeditor/editor/_source/ |
H A D | fckeditorapi.js | 143 FCKTools.AddEventListener( oForm, 'submit', FCK.UpdateLinkedField ) ; 167 FCKTools.AddEventListener( window, 'unload', FCKeditorAPI_Cleanup ) ; 168 FCKTools.AddEventListener( window, 'beforeunload', FCKeditorAPI_ConfirmCleanup) ;
|
/plugin/wysiwyg/fckeditor/editor/js/ |
H A D | fckeditorcode_ie.js | 27 …s.Items=A._FCKCleanupObj.Items;else{this.Items=[];A._FCKCleanupObj=this;FCKTools.AddEventListenerE… 37 …FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','… variable 38 FCKTools.CancelEvent=function(e){return false;};FCKTools._AppendStyleSheet=function(A,B){return A.c… 40 …{var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnIma… 74 …FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B)… 78 …FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCK… 86 …FCKTools.AddEventListenerEx(F,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(F,… 88 …FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;… 99 var FCKToolbarBreak=function(){};FCKToolbarBreak.prototype.Create=function(A){var B=FCKTools.GetEle… 103 …FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);if (FCK.IECleanup) FCK.IECleanup.Ad… [all …]
|
H A D | fckeditorcode_gecko.js | 36 …FCKTools={};FCKTools.CreateBogusBR=function(A){var B=A.createElement('br');B.setAttribute('type','… variable 37 FCKTools.CancelEvent=function(e){if (e) e.preventDefault();};FCKTools.DisableSelection=function(A){… 39 …{var B=document.createElement('img');FCKTools.AddEventListenerEx(B,'load',_FCKImagePreloader_OnIma… 65 …dow.getSelection();if (B.rangeCount==1&&B.anchorNode.nodeType==3){var C=FCKTools.GetElementAscenso… 73 …FCKTools.GetElementWindow(FCK.ToolbarSet._IFrame);else B=window.parent;this._Panel=new FCKPanel(B)… 77 …FCKTools.GetScrollPosition(C);G=A;while((G=G.parentNode)){if (G.nodeType==1){G._fckSavedStyles=FCK… 85 …FCKTools.AddEventListenerEx(F,'focus',FCKPanel_Window_OnFocus,this);FCKTools.AddEventListenerEx(F,… 87 …FCKTools.GetElementDocument(A);var C=this.MainElement=B.createElement('DIV');C.title=this.Tooltip;… 89 …FCKTools.AddEventListenerEx(E,'mouseover',FCKSpecialCombo_ItemOnMouseOver);FCKTools.AddEventListen… 102 …FCKTools.CreateEventListener(FCKMenuItem_SubMenu_OnClick,this);if (FCK.IECleanup) FCK.IECleanup.Ad… [all …]
|