Sign in or 

| Version | User | Scope of changes |
|---|---|---|
| May 8 2008, 12:57 PM EDT (current) | DevinCanterberry | |
| May 8 2008, 12:46 PM EDT | ryan_wetpaint |
| void WPCAPI.showAddPageDialog() | |||||||
| This utility method launches the Add Page dialog. Parameters | |||||||
| String | parentID | The parent cell ID for the newly created page. | Required | ||||
| String DOMElement | dialogTitle | The title to use for the Add Page dialog. If the value is a DOMElement, then this method will first try to use its title attribute. If no title attribute exists, then the element's innerHTML will be used. | Defaults to "Add Page" | ||||
| String | parentTitle | The title of the parent cell; required if the parent cell does not yet exist, otherwise ignored. | Defaults to current page title | ||||
| String | parentURL | The URL of the parent cell; required if the parent cell does not yet exist, otherwise ignored. | Defaults to current page URL | ||||
Usage Minimal
Minimal (with custom title)
Strict
Embedded HTML
| |||||||