fckdialog_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: fckdialog_ie.js
  14.  *  Dialog windows operations. (IE specific implementations)
  15.  * 
  16.  * File Authors:
  17.  *  Frederico Caldeira Knabben (fredck@fckeditor.net)
  18.  */
  19. FCKDialog.Show = function( dialogInfo, dialogName, pageUrl, dialogWidth, dialogHeight, parentWindow )
  20. {
  21. if ( !parentWindow )
  22. parentWindow = window ;
  23. FCKFocusManager.Lock() ;
  24. var oReturn ;
  25. try
  26. {
  27. oReturn = parentWindow.showModalDialog( pageUrl, dialogInfo, "dialogWidth:" + dialogWidth + "px;dialogHeight:" + dialogHeight + "px;help:no;scroll:no;status:no") ;
  28. }
  29. catch( e ) 
  30. {}
  31. if ( !oReturn )
  32. alert( FCKLang.DialogBlocked ) ;
  33. FCKFocusManager.Unlock() ;
  34. }