Get your own copy
Don't hesitate! Just download and test it all by yourself for free!
// Opens a new dialog with the file.htm file and the size 320x240
// It also adds a custom parameter this can be retrieved by using tinyMCEPopup.getWindowArg inside the dialog.
tinyMCE.activeEditor.windowManager.open({
url : 'file.htm',
width : 320,
height : 240
}, {
custom_param : 1
});
// Displays an alert box using the active editors window manager instance
tinyMCE.activeEditor.windowManager.alert('Hello world!');
// Displays an confirm box and an alert message will be displayed depending on what you choose in the confirm
tinyMCE.activeEditor.windowManager.confirm("Do you want to do something", function(s) {
if (s)
tinyMCE.activeEditor.windowManager.alert("Ok");
else
tinyMCE.activeEditor.windowManager.alert("Cancel");
});
| Method | Defined By |
|---|---|
|
Constructs a new window manager instance.
|
tinymce.WindowManager |
|
Opens a new window.
|
tinymce.WindowManager |
|
Closes the specified window.
|
tinymce.WindowManager |
|
Creates a instance of a class.
|
tinymce.WindowManager |
|
Creates a confirm dialog.
|
tinymce.WindowManager |
|
Creates a alert dialog.
|
tinymce.WindowManager |