Glossary Item Box

PowerWEB TextBox for ASP.NET

pwLaunchPopupWindow Method

Launches a hidden HTML element as a popup with a titlebar.

[JavaScript]
pwLaunchPopupWindow(pwElementId, pwX, pwY, pwBackgroundColor, pwBorderColor, pwBorderStyle, pwBorderWidth, pwFontFamily, pwFontSize, pwFontColor, pwCaption, pwTitlebarBackgroundColor, pwTitlebarFontFamily, pwTitlebarFontSize, pwTitlebarFontColor, pwTitlebarImage, pwTitlebarXImage, pwArg)

Parameters

pwElementId
Required. The HTML element containing the data which makes up the dialog.
pwX
Required. The X screen coordinate to launch the dialog.
pwY
Required. The Y screen coordinate to launch the dialog.
pwBackgroundColor
The background color of the dialog.
pwBorderColor
The border color of the dialog.
pwBorderStyle
The border style of the dialog.
pwBorderWidth
The border width of the dialog.
pwFontFamily
The font face of the dialog.
pwFontSize
The font size of the dialog.
pwFontColor
The font color of the dialog.
pwCaption
The titlebar caption.
pwTitlebarBackgroundColor
The background color of the titlebar.
pwTitlebarFontFamily
The font name for the titlebar.
pwTitlebarFontColor
The font color for the titlebar.
pwTitlebarImage
The image to display as the window icon.
pwTitlebarXImage
The image to display as the window "close X" icon.
pwArg
Optional argument which is saved as the global pwCurArg property.

Remarks

This method launches a dialog with titlebar. Typical usage would include creating a hidden HTML element (such as a DIV or SPAN) which contains the dialog content and passing the ID of this element into the pwLaunchPopupWindow method.

In This Section

Assembly Overview
Contains classes that support and enable creation of HTML-editing capable web applications.
Client-Side API
Describes client-side JavaScript functions that are used by PowerWEB TextBox for ASP.NET.

 

 


Send comments on this topic.

Documentation version 3.2.0.0.

© 2009 Dart Communications.  All rights reserved.