BVB Source Codes

Jie Yang v0.6.3 article system Show fckeditor.html Source code

Return Download Jie Yang v0.6.3 article system: download fckeditor.html Source code - Download Jie Yang v0.6.3 article system Source code - Type:.html
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2008 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. *  - GNU General Public License Version 2 or later (the "GPL")
  12. *    http://www.gnu.org/licenses/gpl.html
  13. *
  14. *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. *    http://www.gnu.org/licenses/lgpl.html
  16. *
  17. *  - Mozilla Public License Version 1.1 or later (the "MPL")
  18. *    http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Main page that holds the editor.
  23. -->
  24. <html>
  25. <head>
  26.         <title>FCKeditor</title>
  27.         <meta name="robots" content="noindex, nofollow">
  28.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  29.         <meta http-equiv="Cache-Control" content="public">
  30.         <script type="text/javascript">
  31.  
  32. // Save a reference to the default domain.
  33. var FCK_ORIGINAL_DOMAIN ;
  34.  
  35. // Automatically detect the correct document.domain (#123).
  36. (function()
  37. {
  38.         var d = FCK_ORIGINAL_DOMAIN = document.domain ;
  39.  
  40.         while ( true )
  41.         {
  42.                 // Test if we can access a parent property.
  43.                 try
  44.                 {
  45.                         var test = window.parent.document.domain ;
  46.                         break ;
  47.                 }
  48.                 catch( e ) {}
  49.  
  50.                 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
  51.                 d = d.replace( /.*?(?:\.|$)/, '' ) ;
  52.  
  53.                 if ( d.length == 0 )
  54.                         break ;         // It was not able to detect the domain.
  55.  
  56.                 try
  57.                 {
  58.                         document.domain = d ;
  59.                 }
  60.                 catch (e)
  61.                 {
  62.                         break ;
  63.                 }
  64.         }
  65. })() ;
  66.  
  67. // Save a reference to the detected runtime domain.
  68. var FCK_RUNTIME_DOMAIN = document.domain ;
  69.  
  70. var FCK_IS_CUSTOM_DOMAIN = ( FCK_ORIGINAL_DOMAIN != FCK_RUNTIME_DOMAIN ) ;
  71.  
  72. // Instead of loading scripts and CSSs using inline tags, all scripts are
  73. // loaded by code. In this way we can guarantee the correct processing order,
  74. // otherwise external scripts and inline scripts could be executed in an
  75. // unwanted order (IE).
  76.  
  77. function LoadScript( url )
  78. {
  79.         document.write( '<scr' + 'ipt type="text/javascript" src="' + url + '"><\/scr' + 'ipt>' ) ;
  80. }
  81.  
  82. // Main editor scripts.
  83. var sSuffix = ( /*@cc_on!@*/false ) ? 'ie' : 'gecko' ;
  84.  
  85. LoadScript( 'js/fckeditorcode_' + sSuffix + '.js' ) ;
  86.  
  87. // Base configuration file.
  88. LoadScript( '../fckconfig.js' ) ;
  89.  
  90.         </script>
  91.         <script type="text/javascript">
  92.  
  93. // Adobe AIR compatibility file.
  94. if ( FCKBrowserInfo.IsAIR )
  95.         LoadScript( 'js/fckadobeair.js' ) ;
  96.  
  97. if ( FCKBrowserInfo.IsIE )
  98. {
  99.         // Remove IE mouse flickering.
  100.         try
  101.         {
  102.                 document.execCommand( 'BackgroundImageCache', false, true ) ;
  103.         }
  104.         catch (e)
  105.         {
  106.                 // We have been reported about loading problems caused by the above
  107.                 // line. For safety, let's just ignore errors.
  108.         }
  109.  
  110.         // Create the default cleanup object used by the editor.
  111.         FCK.IECleanup = new FCKIECleanup( window ) ;
  112.         FCK.IECleanup.AddItem( FCKTempBin, FCKTempBin.Reset ) ;
  113.         FCK.IECleanup.AddItem( FCK, FCK_Cleanup ) ;
  114. }
  115.  
  116. // The first function to be called on selection change must the the styles
  117. // change checker, because the result of its processing may be used by another
  118. // functions listening to the same event.
  119. FCK.Events.AttachEvent( 'OnSelectionChange', function() { FCKStyles.CheckSelectionChanges() ; } ) ;
  120.  
  121. // The config hidden field is processed immediately, because
  122. // CustomConfigurationsPath may be set in the page.
  123. FCKConfig.ProcessHiddenField() ;
  124.  
  125. // Load the custom configurations file (if defined).
  126. if ( FCKConfig.CustomConfigurationsPath.length > 0 )
  127.         LoadScript( FCKConfig.CustomConfigurationsPath ) ;
  128.  
  129.         </script>
  130.         <script type="text/javascript">
  131.  
  132. // Load configurations defined at page level.
  133. FCKConfig_LoadPageConfig() ;
  134.  
  135. FCKConfig_PreProcess() ;
  136.  
  137. // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor
  138. var FCK_InternalCSS                     = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'html{min-height:100%}table.FCK__ShowTableBorders,table.FCK__ShowTableBorders td,table.FCK__ShowTableBorders th{border:#d3d3d3 1px solid}form{border:1px dotted #F00;padding:2px}.FCK__Flash{border:#a9a9a9 1px solid;background-position:center center;background-image:url(images/fck_flashlogo.gif);background-repeat:no-repeat;width:80px;height:80px}.FCK__Anchor{border:1px dotted #00F;background-position:center center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;width:16px;height:15px;vertical-align:middle}.FCK__AnchorC{border:1px dotted #00F;background-position:1px center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}a[name]{border:1px dotted #00F;background-position:0 center;background-image:url(images/fck_anchor.gif);background-repeat:no-repeat;padding-left:18px}.FCK__PageBreak{background-position:center center;background-image:url(images/fck_pagebreak.gif);background-repeat:no-repeat;clear:both;display:block;float:none;width:100%;border-top:#999 1px dotted;border-bottom:#999 1px dotted;border-right:0;border-left:0;height:5px}.FCK__InputHidden{width:19px;height:18px;background-image:url(images/fck_hiddenfield.gif);background-repeat:no-repeat;vertical-align:text-bottom;background-position:center center}.FCK__ShowBlocks p,.FCK__ShowBlocks div,.FCK__ShowBlocks pre,.FCK__ShowBlocks address,.FCK__ShowBlocks blockquote,.FCK__ShowBlocks h1,.FCK__ShowBlocks h2,.FCK__ShowBlocks h3,.FCK__ShowBlocks h4,.FCK__ShowBlocks h5,.FCK__ShowBlocks h6{background-repeat:no-repeat;border:1px dotted gray;padding-top:8px;padding-left:8px}.FCK__ShowBlocks p{background-image:url(images/block_p.png)}.FCK__ShowBlocks div{background-image:url(images/block_div.png)}.FCK__ShowBlocks pre{background-image:url(images/block_pre.png)}.FCK__ShowBlocks address{background-image:url(images/block_address.png)}.FCK__ShowBlocks blockquote{background-image:url(images/block_blockquote.png)}.FCK__ShowBlocks h1{background-image:url(images/block_h1.png)}.FCK__ShowBlocks h2{background-image:url(images/block_h2.png)}.FCK__ShowBlocks h3{background-image:url(images/block_h3.png)}.FCK__ShowBlocks h4{background-image:url(images/block_h4.png)}.FCK__ShowBlocks h5{background-image:url(images/block_h5.png)}.FCK__ShowBlocks h6{background-image:url(images/block_h6.png)}' ) ;
  139. var FCK_ShowTableBordersCSS     = FCKTools.FixCssUrls( FCKConfig.FullBasePath + 'css/', 'table:not([border]),table:not([border]) > tr > td,table:not([border]) > tr > th,table:not([border]) > tbody > tr > td,table:not([border]) > tbody > tr > th,table:not([border]) > thead > tr > td,table:not([border]) > thead > tr > th,table:not([border]) > tfoot > tr > td,table:not([border]) > tfoot > tr > th,table[border=\"0\"],table[border=\"0\"] > tr > td,table[border=\"0\"] > tr > th,table[border=\"0\"] > tbody > tr > td,table[border=\"0\"] > tbody > tr > th,table[border=\"0\"] > thead > tr > td,table[border=\"0\"] > thead > tr > th,table[border=\"0\"] > tfoot > tr > td,table[border=\"0\"] > tfoot > tr > th{border:#d3d3d3 1px dotted}' ) ;
  140.  
  141. // Popup the debug window if debug mode is set to true. It guarantees that the
  142. // first debug message will not be lost.
  143. if ( FCKConfig.Debug )
  144.         FCKDebug._GetWindow() ;
  145.  
  146. // Load the active skin CSS.
  147. document.write( FCKTools.GetStyleHtml( FCKConfig.SkinEditorCSS ) ) ;
  148.  
  149. // Load the language file.
  150. FCKLanguageManager.Initialize() ;
  151. LoadScript( 'lang/' + FCKLanguageManager.ActiveLanguage.Code + '.js' ) ;
  152.  
  153.         </script>
  154.         <script type="text/javascript">
  155.  
  156. // Initialize the editing area context menu.
  157. FCK_ContextMenu_Init() ;
  158.  
  159. FCKPlugins.Load() ;
  160.  
  161.         </script>
  162.         <script type="text/javascript">
  163.  
  164. // Set the editor interface direction.
  165. window.document.dir = FCKLang.Dir ;
  166.  
  167.         </script>
  168.         <script type="text/javascript">
  169.  
  170. window.onload = function()
  171. {
  172.         InitializeAPI() ;
  173.  
  174.         if ( FCKBrowserInfo.IsIE )
  175.                 FCK_PreloadImages() ;
  176.         else
  177.                 LoadToolbarSetup() ;
  178. }
  179.  
  180. function LoadToolbarSetup()
  181. {
  182.         FCKeditorAPI._FunctionQueue.Add( LoadToolbar ) ;
  183. }
  184.  
  185. function LoadToolbar()
  186. {
  187.         var oToolbarSet = FCK.ToolbarSet = FCKToolbarSet_Create() ;
  188.  
  189.         if ( oToolbarSet.IsLoaded )
  190.                 StartEditor() ;
  191.         else
  192.         {
  193.                 oToolbarSet.OnLoad = StartEditor ;
  194.                 oToolbarSet.Load( FCKURLParams['Toolbar'] || 'Default' ) ;
  195.         }
  196. }
  197.  
  198. function StartEditor()
  199. {
  200.         // Remove the onload listener.
  201.         FCK.ToolbarSet.OnLoad = null ;
  202.  
  203.         FCKeditorAPI._FunctionQueue.Remove( LoadToolbar ) ;
  204.  
  205.         FCK.Events.AttachEvent( 'OnStatusChange', WaitForActive ) ;
  206.  
  207.         // Start the editor.
  208.         FCK.StartEditor() ;
  209. }
  210.  
  211. function WaitForActive( editorInstance, newStatus )
  212. {
  213.         if ( newStatus == FCK_STATUS_ACTIVE )
  214.         {
  215.                 if ( FCKBrowserInfo.IsGecko )
  216.                         FCKTools.RunFunction( window.onresize ) ;
  217.  
  218.                 _AttachFormSubmitToAPI() ;
  219.  
  220.                 FCK.SetStatus( FCK_STATUS_COMPLETE ) ;
  221.  
  222.                 // Call the special "FCKeditor_OnComplete" function that should be present in
  223.                 // the HTML page where the editor is located.
  224.                 if ( typeof( window.parent.FCKeditor_OnComplete ) == 'function' )
  225.                         window.parent.FCKeditor_OnComplete( FCK ) ;
  226.         }
  227. }
  228.  
  229. // Gecko browsers doesn't calculate well the IFRAME size so we must
  230. // recalculate it every time the window size changes.
  231. if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )
  232. {
  233.         window.onresize = function( e )
  234.         {
  235.                 // Running in Chrome makes the window receive the event including subframes.
  236.                 // we care only about this window. Ticket #1642.
  237.                 // #2002: The originalTarget from the event can be the current document, the window, or the editing area.
  238.                 if ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))
  239.                         return ;
  240.  
  241.                 var oCell = document.getElementById( 'xEditingArea' ) ;
  242.  
  243.                 var eInnerElement = oCell.firstChild ;
  244.                 if ( eInnerElement )
  245.                 {
  246.                         eInnerElement.style.height = '0px' ;
  247.                         eInnerElement.style.height = ( oCell.scrollHeight - 2 ) + 'px' ;
  248.                 }
  249.         }
  250. }
  251.  
  252.         </script>
  253. </head>
  254. <body>
  255.         <table width="100%" cellpadding="0" cellspacing="0" style="height: 100%; table-layout: fixed">
  256.                 <tr id="xToolbarRow" style="display: none">
  257.                         <td id="xToolbarSpace" style="overflow: hidden">
  258.                                 <table width="100%" cellpadding="0" cellspacing="0">
  259.                                         <tr id="xCollapsed" style="display: none">
  260.                                                 <td id="xExpandHandle" class="TB_Expand" colspan="3">
  261.                                                         <img class="TB_ExpandImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
  262.                                         </tr>
  263.                                         <tr id="xExpanded" style="display: none">
  264.                                                 <td id="xTBLeftBorder" class="TB_SideBorder" style="width: 1px; display: none;"></td>
  265.                                                 <td id="xCollapseHandle" style="display: none" class="TB_Collapse" valign="bottom">
  266.                                                         <img class="TB_CollapseImg" alt="" src="images/spacer.gif" width="8" height="4" /></td>
  267.                                                 <td id="xToolbar" class="TB_ToolbarSet"></td>
  268.                                                 <td class="TB_SideBorder" style="width: 1px"></td>
  269.                                         </tr>
  270.                                 </table>
  271.                         </td>
  272.                 </tr>
  273.                 <tr>
  274.                         <td id="xEditingArea" valign="top" style="height: 100%"></td>
  275.                 </tr>
  276.         </table>
  277. </body>
  278. </html>
  279.  
downloadfckeditor.html Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top