fcktoolbarbreak_ie.js
上传用户:li2971742
上传日期:2021-11-18
资源大小:39096k
文件大小:1k
源码类别:

OA系统

开发平台:

C#

  1. /*
  2.  * FCKeditor - The text editor for internet
  3.  * Copyright (C) 2003-2006 Frederico Caldeira Knabben
  4.  * 
  5.  * Licensed under the terms of the GNU Lesser General Public License:
  6.  *  http://www.opensource.org/licenses/lgpl-license.php
  7.  * 
  8.  * For further information visit:
  9.  *  http://www.fckeditor.net/
  10.  * 
  11.  * "Support Open Source software. What about a donation today?"
  12.  * 
  13.  * File Name: fcktoolbarbreak_ie.js
  14.  *  FCKToolbarBreak Class: breaks the toolbars.
  15.  *  It makes it possible to force the toolbar to brak to a new line.
  16.  *  This is the IE specific implementation.
  17.  * 
  18.  * File Authors:
  19.  *  Frederico Caldeira Knabben (fredck@fckeditor.net)
  20.  */
  21. var FCKToolbarBreak = function()
  22. {}
  23. FCKToolbarBreak.prototype.Create = function( targetElement )
  24. {
  25. var oBreakDiv = FCKTools.GetElementDocument( targetElement ).createElement( 'div' ) ;
  26. oBreakDiv.className = 'TB_Break' ;
  27. oBreakDiv.style.clear = FCKLang.Dir == 'rtl' ? 'left' : 'right' ;
  28. targetElement.appendChild( oBreakDiv ) ;
  29. }