Dialog

Extend from $.fn.window.defaults. Override defaults with $.fn.dialog.defaults.

Dependencies

Usage

  1. <div id="dd" title="My Dialog" style="width:400px;height:200px;">  
  2.     Dialog Content.  
  3. </div>  
  1. $('#dd').dialog({  
  2.     modal:true  
  3. });  

Properties

The properties extend from window, below is the overridden properties for dialog.

Name Type Description Default
title string The dialog title text. New Dialog
collapsible boolean Defines if to show collapsible button. false
minimizable boolean Defines if to show minimizable button. false
maximizable boolean Defines if to show maximizable button. false
resizable boolean Defined if the dialog can be resized. false
toolbar array The top toolbar of dialog, each tool options is same as linkbutton. null
buttons array The bottom buttons of dialog, each button options is same as linkbutton. null

Events

The events extend from window.

Methods

The methods extend from window, below is the added methods for dialog.

Name Parameter Description
dialog none Return the dialog object.