www.gusucode.com > 站长俱乐部新闻发布系统精简版 1.01源码程序 > admin/FCKeditor/editor/_source/internals/fckdialog.js
var FCKDialog = new Object() ; // This method opens a dialog window using the standard dialog template. FCKDialog.OpenDialog = function( dialogName, dialogTitle, dialogPage, width, height, customValue, parentWindow, resizable ) { // Setup the dialog info. var oDialogInfo = new Object() ; oDialogInfo.Title = dialogTitle ; oDialogInfo.Page = dialogPage ; oDialogInfo.Editor = window ; oDialogInfo.CustomValue = customValue ; // Optional var sUrl = FCKConfig.BasePath + 'fckdialog.html' ; this.Show( oDialogInfo, dialogName, sUrl, width, height, parentWindow, resizable ) ; }