Class PTWindowUtil
Object
|
+--PTWindowUtil
- class
PTWindowUtil
Static class containing browser window utility methods.
Usage:
PTWindowUtil.openWindow('index.html', 'mywindow', 400, 600, false);
Defined in PTUtil.js
Field Summary |
<static> Number |
defaultHeight
Default height of the opened window |
<static> Number |
defaultWidth
Default width of the opened window |
<static> <final> Object |
VERSION
|
Constructor Summary |
PTWindowUtil
()
PTWindowUtil Object constructor
|
Method Summary |
<static> Object
|
openHelpWindow(URL,height,width,isFullChrome)
Open a help window
|
<static> Object
|
openWindow(URL,name,height,width,isFullChrome)
Opens a window
|
defaultHeight
<static> Number defaultHeight
Default height of the opened window
defaultWidth
<static> Number defaultWidth
Default width of the opened window
VERSION
<static> <final> Object VERSION
PTWindowUtil
PTWindowUtil()
PTWindowUtil Object constructor
Returns:
New PTWindowUtil Object. Author Patrick Corcoran
openHelpWindow
<static> Object openHelpWindow(URL,height,width,isFullChrome)
Parameters:
URL
- URL to open (string)
height
- Height of window (integer)
width
- Width of window (integer)
isFullChrome
- Whether or not to show all browser functions (boolean)
Returns:
Handle to newly created window object
openWindow
<static> Object openWindow(URL,name,height,width,isFullChrome)
Parameters:
URL
- URL to open (string)
name
- Name of window (string)
height
- Height of window (integer)
width
- Width of window (integer)
isFullChrome
- Whether or not to show all browser functions (boolean)
Returns:
Handle to newly created window object
Documentation generated by
JSDoc on Wed Aug 24 10:17:38 2005