TinyMCE:API/tinymce.WindowManager/open
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: open
[edit]
Summary
Opens a new window.
You may want to use an absolute path when specifying the "file" value in the first parameter.
[edit]
Syntax
<void> open(<Object> s, <Object> p)
[edit]
Parameters
- s
- Optional settings collection which contains things like width, height, file, etc.
- title (String) - Window title.
- file (String) - URL of the file to open in the window.
- width (int) - Width in pixels.
- height (int) - Height in pixels.
- resizable (String/bool) - Specifies whether the popup window is resizable or not.
- maximizable (String/bool) - Specifies whether the popup window has a "maximize" button and can get maximized or not.
- inline (int/bool) - Specifies whether to display in-line (set to 1 or true for in-line display; requires inlinepopups plugin).
- popup_css (String/bool) - Optional CSS to use in the popup. Set to false to remove the default one.
- translate_i18n (bool) - Specifies whether translation should occur or not of i18 key strings. Default is true.
- close_previous (String/bool) - Specifies whether a previously opened popup window is to be closed or not (like when calling the file browser window over the advlink popup).
- scrollbars (String/bool) - Specifies whether the popup window can have scrollbars if required (i.e. content larger than the popup size specified).
- p
- Optional parameters collection which can be used by the dialogs to retrieve custom parameters (see tinyMCEPopup.getWindowArg).
- plugin_url (String) - url to plugin if opening plugin window that calls tinyMCEPopup.requireLangPack() and needs access to the plugin language js files
