Loading...
 
Create a custom pop-up dialog box

Plugin Dialog

Introduced with Tiki8

Use this wiki plugin to create a custom pop-up dialog box using jQuery UI.

Parameters

Introduced in Tiki 8.
Preferences required: wikiplugin_dialog, feature_jquery_ui
Parameters Accepted Values Description Default Since
(body of plugin) text
width digits In pixels. 300 8.0
id text Automatically generated if left empty in the form wpdialog_XX (must be unique per page) 8.0
hideAnim text 8.0
openAction rawhtml_unsafe JavaScript to execute when dialog opens. 8.0
showAnim text 8.0
title text 8.0
autoOpen (blank)
y
n
Open dialog automatically y 8.0
actions rawhtml_unsafe
separator: ,
JavaScript to perform on first button click. 8.0
buttons text
separator: ,
Button labels separated by commas. Array 8.0
modal (blank)
y
n
Use modal form n 8.0
wiki pagename Wiki page to use as dialog body 8.0

Example

This code will cause a pop-up dialog box to appear when this page is loaded:

Plugin
{DIALOG(title="World hello Dialog!" buttons="Foo,Bar" actions="alert(\"foo clicked\"),alert(\"you cancelled\")" showAnim="blind" hideAnim="explode" autoOpen="y" modal="y" wiki="plugin dialog test body" openAction="testDialog(this);")}Hello World{DIALOG}

Aliases

Plugin Dialog | Dialog