[ Index ] |
|
Code source de FCKeditor 2.4 |
1 /* 2 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 3 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 4 * 5 * == BEGIN LICENSE == 6 * 7 * Licensed under the terms of any of the following licenses at your 8 * choice: 9 * 10 * - GNU General Public License Version 2 or later (the "GPL") 11 * http://www.gnu.org/licenses/gpl.html 12 * 13 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") 14 * http://www.gnu.org/licenses/lgpl.html 15 * 16 * - Mozilla Public License Version 1.1 or later (the "MPL") 17 * http://www.mozilla.org/MPL/MPL-1.1.html 18 * 19 * == END LICENSE == 20 * 21 * File Name: fckdocumentfragment_gecko.js 22 * This is a generic Document Fragment object. It is not intended to provide 23 * the W3C implementation, but is a way to fix the missing of a real Document 24 * Fragment in IE (where document.createDocumentFragment() returns a normal 25 * document instead), giving a standard interface for it. 26 * (IE Implementation) 27 * 28 * File Authors: 29 * Frederico Caldeira Knabben (www.fckeditor.net) 30 */ 31 32 var FCKDocumentFragment = function( parentDocument, baseDocFrag ) 33 { 34 this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ; 35 } 36 37 FCKDocumentFragment.prototype = 38 { 39 40 // Append the contents of this Document Fragment to another element. 41 AppendTo : function( targetNode ) 42 { 43 targetNode.appendChild( this.RootNode ) ; 44 }, 45 46 InsertAfterNode : function( existingNode ) 47 { 48 FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ; 49 } 50 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 15:28:05 2007 | par Balluche grâce à PHPXref 0.7 |