Table of Contents

O4WDialog routine

Description

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

Syntax

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

Parameters

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.