guides:o4w:o4w_api:o4wdialog

O4WDialog routine

Turns the specified element identified by the id parameter (normally a section) into a dialog.

O4WDialog(id, title, buttonText, buttonId, options, clickIDs, className)

The function has the following parameters:

ParameterDescription
idThe id of an O4W element.
titleThe title tag of the dialog. When null the dialog is removed.
buttonText<Optional>An @vm delimited array of text to be displayed on the corresponding buttonId
buttonId<Optional>An @vm delimited array of identifiers corresponding to buttonText. The identifier will be returned to the commuter module when the button is clicked.
options<Optional> Options to be applied to the jQuery dialog function.
clickIDs<Optional> The ID of a button or link to click on to activate the dialog.
className<Optional>The named style class to be applied to the dialog.
  • guides/o4w/o4w_api/o4wdialog.txt
  • Last modified: 2024/06/19 20:19
  • by 127.0.0.1