public function open(s:Object, p:Object):void
Opens a new window.
Params
| Name |
Type |
Description |
| s |
Object |
Optional name/value settings collection contains things like width/height/url etc.
| Name |
Type |
Description |
| title |
String |
Window title. |
| file |
String |
URL of the file to open in the window. |
| width |
Number |
Width in pixels. |
| height |
Number |
Height in pixels. |
| resizable |
Boolean |
Specifies whether the popup window is resizable or not. |
| maximizable |
Boolean |
Specifies whether the popup window has a "maximize" button and can get maximized or not. |
| inline |
Boolean |
Specifies whether to display in-line (set to 1 or true for in-line display; requires inlinepopups plugin). |
| popup_css |
String/Boolean |
Optional CSS to use in the popup. Set to false to remove the default one. |
| translate_i18n |
Boolean |
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 |
Object |
Optional parameters/arguments collection can be used by the dialogs to retrive custom parameters.
| Name |
Type |
Description |
| plugin_url |
String |
url to plugin if opening plugin window that calls tinyMCEPopup.requireLangPack() and needs access to the plugin language js files |
|