annotate jquery-ui/development-bundle/docs/dialog.html @ 0:b2e4605f20b2

beta version
author dwinter
date Thu, 30 Jun 2011 09:07:49 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
2 <ul class="UIAPIPlugin-toc">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
3 <li><a href="#overview">Overview</a></li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
4 <li><a href="#options">Options</a></li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
5 <li><a href="#events">Events</a></li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
6 <li><a href="#methods">Methods</a></li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
7 <li><a href="#theming">Theming</a></li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
8 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
9 <div class="UIAPIPlugin">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
10 <h1>jQuery UI Dialog</h1>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
11 <div id="overview">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
12 <h2 class="top-header">Overview</h2>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
13 <div id="overview-main">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
14 <p>A dialog is a floating window that contains a title bar and a content area. The dialog window can be moved, resized and closed with the 'x' icon by default.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
15 <p>If the content length exceeds the maximum height, a scrollbar will automatically appear.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
16 <p>A bottom button bar and semi-transparent modal overlay layer are common options that can be added.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
17 <p>A call to <code>$(foo).dialog()</code> will initialize a dialog instance and will auto-open the dialog by default. If you want to reuse a dialog, the easiest way is to disable the "auto-open" option with: <code>$(foo).dialog({ autoOpen: false })</code> and open it with <code>$(foo).dialog('open')</code>. To close it, use <code>$(foo).dialog('close')</code>. A more in-depth explanation with a full demo is available on <a href="http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/" class="external text" title="http://blog.nemikor.com/2009/04/08/basic-usage-of-the-jquery-ui-dialog/">the Nemikor blog</a>.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
18 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
19 <div id="overview-dependencies">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
20 <h3>Dependencies</h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
21 <ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
22 <li>UI Core</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
23 <li>UI Position</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
24 <li>UI Widget</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
25 <li>UI Mouse (Optional; only needed if using UI Draggable or UI Resizable)</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
26 <li>UI Draggable (Optional)</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
27 <li>UI Resizable (Optional)</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
28 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
29 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
30 <div id="overview-example">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
31 <h3>Example</h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
32 <div id="overview-example" class="example">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
33 <ul><li><a href="#demo"><span>Demo</span></a></li><li><a href="#source"><span>View Source</span></a></li></ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
34 <p><div id="demo" class="tabs-container" rel="300">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
35 A simple jQuery UI Dialog.<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
36 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
37 <pre>$(&quot;#dialog&quot;).dialog();
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
38 </pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
39 <p></div><div id="source" class="tabs-container">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
40 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
41 <pre>&lt;!DOCTYPE html&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
42 &lt;html&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
43 &lt;head&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
44 &lt;link href=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;/&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
45 &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
46 &lt;script src=&quot;http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js&quot;&gt;&lt;/script&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
47
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
48 &lt;script&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
49 $(document).ready(function() {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
50 $(&quot;#dialog&quot;).dialog();
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
51 });
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
52 &lt;/script&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
53 &lt;/head&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
54 &lt;body style="font-size:62.5%;"&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
55
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
56 &lt;div id=&quot;dialog&quot; title=&quot;Dialog Title&quot;&gt;I'm in a dialog&lt;/div&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
57
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
58 &lt;/body&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
59 &lt;/html&gt;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
60 </pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
61 <p></div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
62 </p><p></div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
63 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
64 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
65 <div id="options">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
66 <h2 class="top-header">Options</h2>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
67 <ul class="options-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
68
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
69 <li class="option" id="option-disabled">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
70 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
71 <h3 class="option-name"><a href="#option-disabled">disabled</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
72 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
73 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
74 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
75
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
76 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
77 <dd class="option-default">false</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
78
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
79 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
80 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
81 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
82 <p>Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
83 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
84 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
85 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
86 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
87
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
88 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
89 Initialize a dialog with the <code>disabled</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
90 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
91 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
92 <pre><code>$( ".selector" ).dialog({ disabled: true });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
93 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
94
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
95
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
96 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
97 Get or set the <code>disabled</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
98 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
99 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
100 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
101 var disabled = $( ".selector" ).dialog( "option", "disabled" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
102 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
103 $( ".selector" ).dialog( "option", "disabled", true );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
104 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
105
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
106 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
107 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
108 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
109
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
110
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
111 <li class="option" id="option-autoOpen">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
112 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
113 <h3 class="option-name"><a href="#option-autoOpen">autoOpen</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
114 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
115 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
116 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
117
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
118 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
119 <dd class="option-default">true</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
120
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
121 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
122 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
123 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
124 <p>When <i>autoOpen</i> is <i>true</i> the dialog will open automatically when <i>dialog</i> is called. If <i>false</i> it will stay hidden until <i>.dialog("open")</i> is called on it.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
125 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
126 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
127 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
128 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
129
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
130 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
131 Initialize a dialog with the <code>autoOpen</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
132 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
133 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
134 <pre><code>$( ".selector" ).dialog({ autoOpen: false });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
135 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
136
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
137
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
138 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
139 Get or set the <code>autoOpen</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
140 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
141 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
142 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
143 var autoOpen = $( ".selector" ).dialog( "option", "autoOpen" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
144 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
145 $( ".selector" ).dialog( "option", "autoOpen", false );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
146 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
147
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
148 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
149 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
150 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
151
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
152
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
153 <li class="option" id="option-buttons">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
154 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
155 <h3 class="option-name"><a href="#option-buttons">buttons</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
156 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
157 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
158 <dd class="option-type">Object</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
159
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
160 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
161 <dd class="option-default">{ }</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
162
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
163 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
164 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
165 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
166 <p>Specifies which buttons should be displayed on the dialog. The property key is the text of the button. The value is the callback function for when the button is clicked. The context of the callback is the dialog element; if you need access to the button, it is available as the target of the event object.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
167 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
168 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
169 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
170 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
171 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
172
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
173 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
174 Initialize a dialog with the <code>buttons</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
175 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
176 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
177 <pre><code>$( ".selector" ).dialog({ buttons: { &quot;Ok&quot;: function() { $(this).dialog(&quot;close&quot;); } } });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
178 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
179
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
180
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
181 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
182 Get or set the <code>buttons</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
183 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
184 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
185 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
186 var buttons = $( ".selector" ).dialog( "option", "buttons" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
187 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
188 $( ".selector" ).dialog( "option", "buttons", { &quot;Ok&quot;: function() { $(this).dialog(&quot;close&quot;); } } );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
189 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
190
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
191 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
192 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
193 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
194
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
195
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
196 <li class="option" id="option-buttons">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
197 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
198 <h3 class="option-name"><a href="#option-buttons">buttons</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
199 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
200 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
201 <dd class="option-type">Array</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
202
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
203 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
204 <dd class="option-default">[ ]</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
205
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
206 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
207 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
208 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
209 <p>Specifies which buttons should be displayed on the dialog. Each element of the array must be an Object defining the properties to set on the button.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
210 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
211 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
212 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
213 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
214 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
215
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
216 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
217 Initialize a dialog with the <code>buttons</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
218 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
219 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
220 <pre><code>$( ".selector" ).dialog({ buttons: [
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
221 {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
222 text: &quot;Ok&quot;,
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
223 click: function() { $(this).dialog(&quot;close&quot;); }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
224 }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
225 ] });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
226 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
227
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
228
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
229 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
230 Get or set the <code>buttons</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
231 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
232 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
233 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
234 var buttons = $( ".selector" ).dialog( "option", "buttons" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
235 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
236 $( ".selector" ).dialog( "option", "buttons", [
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
237 {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
238 text: &quot;Ok&quot;,
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
239 click: function() { $(this).dialog(&quot;close&quot;); }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
240 }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
241 ] );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
242 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
243
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
244 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
245 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
246 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
247
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
248
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
249 <li class="option" id="option-closeOnEscape">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
250 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
251 <h3 class="option-name"><a href="#option-closeOnEscape">closeOnEscape</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
252 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
253 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
254 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
255
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
256 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
257 <dd class="option-default">true</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
258
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
259 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
260 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
261 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
262 <p>Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
263 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
264 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
265 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
266 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
267
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
268 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
269 Initialize a dialog with the <code>closeOnEscape</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
270 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
271 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
272 <pre><code>$( ".selector" ).dialog({ closeOnEscape: false });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
273 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
274
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
275
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
276 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
277 Get or set the <code>closeOnEscape</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
278 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
279 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
280 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
281 var closeOnEscape = $( ".selector" ).dialog( "option", "closeOnEscape" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
282 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
283 $( ".selector" ).dialog( "option", "closeOnEscape", false );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
284 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
285
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
286 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
287 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
288 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
289
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
290
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
291 <li class="option" id="option-closeText">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
292 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
293 <h3 class="option-name"><a href="#option-closeText">closeText</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
294 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
295 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
296 <dd class="option-type">String</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
297
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
298 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
299 <dd class="option-default">'close'</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
300
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
301 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
302 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
303 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
304 <p>Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
305 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
306 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
307 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
308 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
309
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
310 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
311 Initialize a dialog with the <code>closeText</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
312 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
313 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
314 <pre><code>$( ".selector" ).dialog({ closeText: 'hide' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
315 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
316
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
317
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
318 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
319 Get or set the <code>closeText</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
320 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
321 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
322 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
323 var closeText = $( ".selector" ).dialog( "option", "closeText" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
324 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
325 $( ".selector" ).dialog( "option", "closeText", 'hide' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
326 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
327
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
328 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
329 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
330 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
331
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
332
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
333 <li class="option" id="option-dialogClass">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
334 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
335 <h3 class="option-name"><a href="#option-dialogClass">dialogClass</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
336 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
337 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
338 <dd class="option-type">String</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
339
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
340 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
341 <dd class="option-default">''</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
342
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
343 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
344 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
345 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
346 <p>The specified class name(s) will be added to the dialog, for additional theming.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
347 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
348 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
349 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
350 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
351
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
352 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
353 Initialize a dialog with the <code>dialogClass</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
354 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
355 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
356 <pre><code>$( ".selector" ).dialog({ dialogClass: 'alert' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
357 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
358
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
359
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
360 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
361 Get or set the <code>dialogClass</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
362 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
363 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
364 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
365 var dialogClass = $( ".selector" ).dialog( "option", "dialogClass" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
366 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
367 $( ".selector" ).dialog( "option", "dialogClass", 'alert' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
368 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
369
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
370 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
371 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
372 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
373
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
374
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
375 <li class="option" id="option-draggable">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
376 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
377 <h3 class="option-name"><a href="#option-draggable">draggable</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
378 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
379 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
380 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
381
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
382 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
383 <dd class="option-default">true</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
384
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
385 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
386 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
387 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
388 <p>If set to true, the dialog will be draggable will be draggable by the titlebar.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
389 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
390 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
391 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
392 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
393
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
394 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
395 Initialize a dialog with the <code>draggable</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
396 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
397 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
398 <pre><code>$( ".selector" ).dialog({ draggable: false });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
399 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
400
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
401
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
402 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
403 Get or set the <code>draggable</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
404 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
405 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
406 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
407 var draggable = $( ".selector" ).dialog( "option", "draggable" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
408 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
409 $( ".selector" ).dialog( "option", "draggable", false );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
410 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
411
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
412 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
413 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
414 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
415
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
416
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
417 <li class="option" id="option-height">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
418 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
419 <h3 class="option-name"><a href="#option-height">height</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
420 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
421 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
422 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
423
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
424 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
425 <dd class="option-default">'auto'</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
426
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
427 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
428 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
429 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
430 <p>The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
431 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
432 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
433 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
434 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
435
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
436 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
437 Initialize a dialog with the <code>height</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
438 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
439 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
440 <pre><code>$( ".selector" ).dialog({ height: 530 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
441 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
442
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
443
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
444 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
445 Get or set the <code>height</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
446 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
447 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
448 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
449 var height = $( ".selector" ).dialog( "option", "height" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
450 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
451 $( ".selector" ).dialog( "option", "height", 530 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
452 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
453
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
454 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
455 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
456 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
457
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
458
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
459 <li class="option" id="option-hide">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
460 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
461 <h3 class="option-name"><a href="#option-hide">hide</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
462 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
463 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
464 <dd class="option-type">String</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
465
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
466 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
467 <dd class="option-default">null</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
468
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
469 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
470 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
471 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
472 <p>The effect to be used when the dialog is closed.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
473 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
474 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
475 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
476 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
477
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
478 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
479 Initialize a dialog with the <code>hide</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
480 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
481 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
482 <pre><code>$( ".selector" ).dialog({ hide: 'slide' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
483 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
484
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
485
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
486 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
487 Get or set the <code>hide</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
488 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
489 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
490 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
491 var hide = $( ".selector" ).dialog( "option", "hide" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
492 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
493 $( ".selector" ).dialog( "option", "hide", 'slide' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
494 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
495
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
496 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
497 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
498 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
499
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
500
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
501 <li class="option" id="option-maxHeight">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
502 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
503 <h3 class="option-name"><a href="#option-maxHeight">maxHeight</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
504 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
505 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
506 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
507
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
508 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
509 <dd class="option-default">false</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
510
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
511 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
512 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
513 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
514 <p>The maximum height to which the dialog can be resized, in pixels.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
515 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
516 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
517 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
518 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
519
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
520 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
521 Initialize a dialog with the <code>maxHeight</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
522 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
523 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
524 <pre><code>$( ".selector" ).dialog({ maxHeight: 400 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
525 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
526
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
527
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
528 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
529 Get or set the <code>maxHeight</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
530 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
531 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
532 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
533 var maxHeight = $( ".selector" ).dialog( "option", "maxHeight" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
534 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
535 $( ".selector" ).dialog( "option", "maxHeight", 400 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
536 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
537
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
538 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
539 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
540 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
541
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
542
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
543 <li class="option" id="option-maxWidth">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
544 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
545 <h3 class="option-name"><a href="#option-maxWidth">maxWidth</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
546 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
547 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
548 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
549
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
550 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
551 <dd class="option-default">false</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
552
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
553 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
554 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
555 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
556 <p>The maximum width to which the dialog can be resized, in pixels.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
557 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
558 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
559 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
560 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
561
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
562 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
563 Initialize a dialog with the <code>maxWidth</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
564 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
565 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
566 <pre><code>$( ".selector" ).dialog({ maxWidth: 600 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
567 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
568
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
569
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
570 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
571 Get or set the <code>maxWidth</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
572 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
573 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
574 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
575 var maxWidth = $( ".selector" ).dialog( "option", "maxWidth" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
576 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
577 $( ".selector" ).dialog( "option", "maxWidth", 600 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
578 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
579
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
580 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
581 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
582 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
583
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
584
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
585 <li class="option" id="option-minHeight">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
586 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
587 <h3 class="option-name"><a href="#option-minHeight">minHeight</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
588 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
589 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
590 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
591
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
592 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
593 <dd class="option-default">150</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
594
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
595 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
596 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
597 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
598 <p>The minimum height to which the dialog can be resized, in pixels.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
599 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
600 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
601 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
602 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
603
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
604 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
605 Initialize a dialog with the <code>minHeight</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
606 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
607 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
608 <pre><code>$( ".selector" ).dialog({ minHeight: 300 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
609 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
610
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
611
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
612 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
613 Get or set the <code>minHeight</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
614 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
615 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
616 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
617 var minHeight = $( ".selector" ).dialog( "option", "minHeight" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
618 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
619 $( ".selector" ).dialog( "option", "minHeight", 300 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
620 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
621
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
622 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
623 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
624 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
625
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
626
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
627 <li class="option" id="option-minWidth">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
628 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
629 <h3 class="option-name"><a href="#option-minWidth">minWidth</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
630 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
631 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
632 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
633
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
634 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
635 <dd class="option-default">150</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
636
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
637 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
638 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
639 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
640 <p>The minimum width to which the dialog can be resized, in pixels.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
641 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
642 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
643 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
644 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
645
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
646 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
647 Initialize a dialog with the <code>minWidth</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
648 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
649 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
650 <pre><code>$( ".selector" ).dialog({ minWidth: 400 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
651 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
652
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
653
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
654 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
655 Get or set the <code>minWidth</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
656 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
657 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
658 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
659 var minWidth = $( ".selector" ).dialog( "option", "minWidth" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
660 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
661 $( ".selector" ).dialog( "option", "minWidth", 400 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
662 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
663
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
664 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
665 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
666 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
667
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
668
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
669 <li class="option" id="option-modal">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
670 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
671 <h3 class="option-name"><a href="#option-modal">modal</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
672 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
673 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
674 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
675
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
676 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
677 <dd class="option-default">false</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
678
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
679 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
680 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
681 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
682 <p>If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
683 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
684 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
685 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
686 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
687
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
688 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
689 Initialize a dialog with the <code>modal</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
690 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
691 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
692 <pre><code>$( ".selector" ).dialog({ modal: true });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
693 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
694
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
695
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
696 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
697 Get or set the <code>modal</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
698 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
699 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
700 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
701 var modal = $( ".selector" ).dialog( "option", "modal" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
702 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
703 $( ".selector" ).dialog( "option", "modal", true );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
704 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
705
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
706 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
707 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
708 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
709
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
710
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
711 <li class="option" id="option-position">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
712 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
713 <h3 class="option-name"><a href="#option-position">position</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
714 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
715 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
716 <dd class="option-type">String, Array</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
717
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
718 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
719 <dd class="option-default">'center'</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
720
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
721 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
722 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
723 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
724 <p>Specifies where the dialog should be displayed. Possible values: <br />1) a single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. <br />2) an array containing an <em>x,y</em> coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100]) <br />3) an array containing <em>x,y</em> position string values (e.g. ['right','top'] for top right corner).</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
725 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
726 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
727 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
728 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
729
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
730 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
731 Initialize a dialog with the <code>position</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
732 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
733 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
734 <pre><code>$( ".selector" ).dialog({ position: 'top' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
735 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
736
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
737
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
738 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
739 Get or set the <code>position</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
740 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
741 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
742 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
743 var position = $( ".selector" ).dialog( "option", "position" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
744 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
745 $( ".selector" ).dialog( "option", "position", 'top' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
746 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
747
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
748 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
749 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
750 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
751
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
752
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
753 <li class="option" id="option-resizable">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
754 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
755 <h3 class="option-name"><a href="#option-resizable">resizable</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
756 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
757 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
758 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
759
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
760 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
761 <dd class="option-default">true</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
762
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
763 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
764 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
765 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
766 <p>If set to true, the dialog will be resizeable.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
767 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
768 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
769 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
770 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
771
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
772 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
773 Initialize a dialog with the <code>resizable</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
774 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
775 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
776 <pre><code>$( ".selector" ).dialog({ resizable: false });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
777 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
778
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
779
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
780 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
781 Get or set the <code>resizable</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
782 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
783 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
784 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
785 var resizable = $( ".selector" ).dialog( "option", "resizable" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
786 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
787 $( ".selector" ).dialog( "option", "resizable", false );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
788 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
789
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
790 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
791 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
792 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
793
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
794
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
795 <li class="option" id="option-show">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
796 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
797 <h3 class="option-name"><a href="#option-show">show</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
798 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
799 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
800 <dd class="option-type">String</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
801
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
802 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
803 <dd class="option-default">null</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
804
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
805 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
806 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
807 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
808 <p>The effect to be used when the dialog is opened.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
809 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
810 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
811 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
812 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
813
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
814 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
815 Initialize a dialog with the <code>show</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
816 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
817 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
818 <pre><code>$( ".selector" ).dialog({ show: 'slide' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
819 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
820
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
821
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
822 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
823 Get or set the <code>show</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
824 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
825 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
826 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
827 var show = $( ".selector" ).dialog( "option", "show" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
828 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
829 $( ".selector" ).dialog( "option", "show", 'slide' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
830 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
831
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
832 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
833 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
834 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
835
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
836
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
837 <li class="option" id="option-stack">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
838 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
839 <h3 class="option-name"><a href="#option-stack">stack</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
840 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
841 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
842 <dd class="option-type">Boolean</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
843
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
844 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
845 <dd class="option-default">true</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
846
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
847 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
848 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
849 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
850 <p>Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
851 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
852 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
853 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
854 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
855
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
856 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
857 Initialize a dialog with the <code>stack</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
858 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
859 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
860 <pre><code>$( ".selector" ).dialog({ stack: false });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
861 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
862
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
863
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
864 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
865 Get or set the <code>stack</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
866 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
867 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
868 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
869 var stack = $( ".selector" ).dialog( "option", "stack" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
870 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
871 $( ".selector" ).dialog( "option", "stack", false );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
872 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
873
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
874 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
875 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
876 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
877
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
878
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
879 <li class="option" id="option-title">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
880 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
881 <h3 class="option-name"><a href="#option-title">title</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
882 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
883 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
884 <dd class="option-type">String</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
885
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
886 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
887 <dd class="option-default">''</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
888
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
889 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
890 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
891 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
892 <p>Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
893 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
894 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
895 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
896 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
897
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
898 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
899 Initialize a dialog with the <code>title</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
900 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
901 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
902 <pre><code>$( ".selector" ).dialog({ title: 'Dialog Title' });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
903 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
904
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
905
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
906 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
907 Get or set the <code>title</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
908 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
909 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
910 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
911 var title = $( ".selector" ).dialog( "option", "title" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
912 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
913 $( ".selector" ).dialog( "option", "title", 'Dialog Title' );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
914 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
915
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
916 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
917 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
918 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
919
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
920
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
921 <li class="option" id="option-width">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
922 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
923 <h3 class="option-name"><a href="#option-width">width</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
924 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
925 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
926 <dd class="option-type">Number</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
927
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
928 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
929 <dd class="option-default">300</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
930
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
931 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
932 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
933 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
934 <p>The width of the dialog, in pixels.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
935 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
936 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
937 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
938 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
939
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
940 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
941 Initialize a dialog with the <code>width</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
942 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
943 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
944 <pre><code>$( ".selector" ).dialog({ width: 460 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
945 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
946
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
947
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
948 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
949 Get or set the <code>width</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
950 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
951 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
952 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
953 var width = $( ".selector" ).dialog( "option", "width" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
954 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
955 $( ".selector" ).dialog( "option", "width", 460 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
956 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
957
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
958 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
959 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
960 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
961
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
962
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
963 <li class="option" id="option-zIndex">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
964 <div class="option-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
965 <h3 class="option-name"><a href="#option-zIndex">zIndex</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
966 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
967 <dt class="option-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
968 <dd class="option-type">Integer</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
969
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
970 <dt class="option-default-label">Default:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
971 <dd class="option-default">1000</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
972
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
973 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
974 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
975 <div class="option-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
976 <p>The starting z-index for the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
977 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
978 <div class="option-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
979 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
980 <dl class="option-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
981
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
982 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
983 Initialize a dialog with the <code>zIndex</code> option specified.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
984 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
985 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
986 <pre><code>$( ".selector" ).dialog({ zIndex: 3999 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
987 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
988
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
989
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
990 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
991 Get or set the <code>zIndex</code> option, after init.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
992 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
993 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
994 <pre><code>//getter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
995 var zIndex = $( ".selector" ).dialog( "option", "zIndex" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
996 //setter
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
997 $( ".selector" ).dialog( "option", "zIndex", 3999 );</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
998 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
999
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1000 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1001 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1002 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1003
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1004 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1005 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1006 <div id="events">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1007 <h2 class="top-header">Events</h2>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1008 <ul class="events-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1009
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1010 <li class="event" id="event-create">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1011 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1012 <h3 class="event-name"><a href="#event-create">create</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1013 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1014 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1015 <dd class="event-type">dialogcreate</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1016 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1017 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1018 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1019 <p>This event is triggered when dialog is created.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1020 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1021 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1022 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1023 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1024
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1025 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1026 Supply a callback function to handle the <code>create</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1027 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1028 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1029 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1030 create: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1031 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1032 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1033
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1034
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1035 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1036 Bind to the <code>create</code> event by type: <code>dialogcreate</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1037 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1038 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1039 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogcreate&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1040 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1041 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1042 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1043
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1044 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1045 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1046 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1047
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1048
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1049 <li class="event" id="event-beforeClose">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1050 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1051 <h3 class="event-name"><a href="#event-beforeClose">beforeClose</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1052 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1053 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1054 <dd class="event-type">dialogbeforeclose</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1055 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1056 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1057 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1058 <p>This event is triggered when a dialog attempts to close. If the beforeClose event handler (callback function) returns false, the close will be prevented.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1059 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1060 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1061 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1062 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1063
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1064 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1065 Supply a callback function to handle the <code>beforeClose</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1066 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1067 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1068 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1069 beforeClose: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1070 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1071 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1072
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1073
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1074 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1075 Bind to the <code>beforeClose</code> event by type: <code>dialogbeforeclose</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1076 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1077 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1078 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogbeforeclose&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1079 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1080 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1081 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1082
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1083 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1084 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1085 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1086
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1087
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1088 <li class="event" id="event-open">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1089 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1090 <h3 class="event-name"><a href="#event-open">open</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1091 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1092 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1093 <dd class="event-type">dialogopen</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1094 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1095 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1096 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1097 <p>This event is triggered when dialog is opened.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1098 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1099 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1100 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1101 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1102
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1103 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1104 Supply a callback function to handle the <code>open</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1105 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1106 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1107 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1108 open: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1109 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1110 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1111
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1112
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1113 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1114 Bind to the <code>open</code> event by type: <code>dialogopen</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1115 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1116 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1117 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogopen&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1118 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1119 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1120 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1121
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1122 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1123 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1124 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1125
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1126
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1127 <li class="event" id="event-focus">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1128 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1129 <h3 class="event-name"><a href="#event-focus">focus</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1130 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1131 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1132 <dd class="event-type">dialogfocus</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1133 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1134 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1135 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1136 <p>This event is triggered when the dialog gains focus.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1137 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1138 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1139 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1140 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1141
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1142 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1143 Supply a callback function to handle the <code>focus</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1144 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1145 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1146 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1147 focus: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1148 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1149 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1150
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1151
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1152 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1153 Bind to the <code>focus</code> event by type: <code>dialogfocus</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1154 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1155 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1156 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogfocus&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1157 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1158 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1159 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1160
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1161 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1162 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1163 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1164
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1165
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1166 <li class="event" id="event-dragStart">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1167 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1168 <h3 class="event-name"><a href="#event-dragStart">dragStart</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1169 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1170 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1171 <dd class="event-type">dialogdragstart</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1172 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1173 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1174 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1175 <p>This event is triggered at the beginning of the dialog being dragged.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1176 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1177 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1178 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1179 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1180
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1181 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1182 Supply a callback function to handle the <code>dragStart</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1183 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1184 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1185 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1186 dragStart: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1187 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1188 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1189
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1190
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1191 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1192 Bind to the <code>dragStart</code> event by type: <code>dialogdragstart</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1193 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1194 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1195 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdragstart&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1196 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1197 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1198 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1199
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1200 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1201 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1202 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1203
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1204
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1205 <li class="event" id="event-drag">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1206 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1207 <h3 class="event-name"><a href="#event-drag">drag</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1208 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1209 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1210 <dd class="event-type">dialogdrag</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1211 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1212 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1213 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1214 <p>This event is triggered when the dialog is dragged.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1215 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1216 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1217 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1218 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1219
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1220 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1221 Supply a callback function to handle the <code>drag</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1222 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1223 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1224 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1225 drag: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1226 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1227 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1228
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1229
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1230 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1231 Bind to the <code>drag</code> event by type: <code>dialogdrag</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1232 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1233 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1234 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdrag&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1235 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1236 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1237 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1238
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1239 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1240 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1241 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1242
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1243
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1244 <li class="event" id="event-dragStop">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1245 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1246 <h3 class="event-name"><a href="#event-dragStop">dragStop</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1247 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1248 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1249 <dd class="event-type">dialogdragstop</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1250 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1251 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1252 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1253 <p>This event is triggered after the dialog has been dragged.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1254 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1255 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1256 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1257 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1258
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1259 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1260 Supply a callback function to handle the <code>dragStop</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1261 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1262 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1263 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1264 dragStop: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1265 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1266 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1267
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1268
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1269 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1270 Bind to the <code>dragStop</code> event by type: <code>dialogdragstop</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1271 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1272 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1273 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogdragstop&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1274 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1275 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1276 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1277
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1278 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1279 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1280 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1281
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1282
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1283 <li class="event" id="event-resizeStart">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1284 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1285 <h3 class="event-name"><a href="#event-resizeStart">resizeStart</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1286 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1287 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1288 <dd class="event-type">dialogresizestart</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1289 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1290 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1291 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1292 <p>This event is triggered at the beginning of the dialog being resized.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1293 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1294 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1295 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1296 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1297
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1298 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1299 Supply a callback function to handle the <code>resizeStart</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1300 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1301 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1302 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1303 resizeStart: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1304 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1305 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1306
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1307
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1308 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1309 Bind to the <code>resizeStart</code> event by type: <code>dialogresizestart</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1310 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1311 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1312 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresizestart&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1313 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1314 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1315 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1316
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1317 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1318 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1319 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1320
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1321
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1322 <li class="event" id="event-resize">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1323 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1324 <h3 class="event-name"><a href="#event-resize">resize</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1325 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1326 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1327 <dd class="event-type">dialogresize</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1328 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1329 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1330 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1331 <p>This event is triggered when the dialog is resized. <a href="http://www.jsfiddle.net/Jp7TM/18/" class="external text" title="http://www.jsfiddle.net/Jp7TM/18/">demo</a></p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1332 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1333 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1334 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1335 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1336
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1337 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1338 Supply a callback function to handle the <code>resize</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1339 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1340 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1341 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1342 resize: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1343 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1344 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1345
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1346
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1347 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1348 Bind to the <code>resize</code> event by type: <code>dialogresize</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1349 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1350 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1351 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresize&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1352 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1353 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1354 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1355
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1356 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1357 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1358 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1359
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1360
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1361 <li class="event" id="event-resizeStop">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1362 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1363 <h3 class="event-name"><a href="#event-resizeStop">resizeStop</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1364 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1365 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1366 <dd class="event-type">dialogresizestop</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1367 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1368 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1369 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1370 <p>This event is triggered after the dialog has been resized.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1371 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1372 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1373 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1374 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1375
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1376 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1377 Supply a callback function to handle the <code>resizeStop</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1378 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1379 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1380 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1381 resizeStop: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1382 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1383 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1384
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1385
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1386 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1387 Bind to the <code>resizeStop</code> event by type: <code>dialogresizestop</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1388 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1389 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1390 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogresizestop&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1391 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1392 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1393 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1394
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1395 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1396 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1397 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1398
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1399
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1400 <li class="event" id="event-close">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1401 <div class="event-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1402 <h3 class="event-name"><a href="#event-close">close</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1403 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1404 <dt class="event-type-label">Type:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1405 <dd class="event-type">dialogclose</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1406 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1407 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1408 <div class="event-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1409 <p>This event is triggered when the dialog is closed.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1410 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1411 <div class="event-examples">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1412 <h4>Code examples</h4>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1413 <dl class="event-examples-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1414
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1415 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1416 Supply a callback function to handle the <code>close</code> event as an init option.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1417 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1418 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1419 <pre><code>$( &quot;.selector&quot; ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1420 close: function(event, ui) { ... }
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1421 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1422 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1423
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1424
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1425 <dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1426 Bind to the <code>close</code> event by type: <code>dialogclose</code>.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1427 </dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1428 <dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1429 <pre><code>$( &quot;.selector&quot; ).bind( &quot;dialogclose&quot;, function(event, ui) {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1430 ...
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1431 });</code></pre>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1432 </dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1433
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1434 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1435 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1436 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1437
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1438 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1439 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1440 <div id="methods">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1441 <h2 class="top-header">Methods</h2>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1442 <ul class="methods-list">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1443
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1444 <li class="method" id="method-destroy">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1445 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1446 <h3 class="method-name"><a href="#method-destroy">destroy</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1447 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1448 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1449 <dd class="method-signature">.dialog( "destroy"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1450
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1451
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1452
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1453
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1454
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1455
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1456
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1457 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1458 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1459 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1460 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1461 <p>Remove the dialog functionality completely. This will return the element back to its pre-init state.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1462 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1463 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1464
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1465
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1466 <li class="method" id="method-disable">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1467 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1468 <h3 class="method-name"><a href="#method-disable">disable</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1469 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1470 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1471 <dd class="method-signature">.dialog( "disable"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1472
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1473
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1474
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1475
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1476
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1477
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1478
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1479 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1480 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1481 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1482 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1483 <p>Disable the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1484 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1485 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1486
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1487
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1488 <li class="method" id="method-enable">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1489 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1490 <h3 class="method-name"><a href="#method-enable">enable</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1491 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1492 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1493 <dd class="method-signature">.dialog( "enable"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1494
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1495
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1496
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1497
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1498
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1499
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1500
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1501 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1502 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1503 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1504 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1505 <p>Enable the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1506 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1507 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1508
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1509
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1510 <li class="method" id="method-option">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1511 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1512 <h3 class="method-name"><a href="#method-option">option</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1513 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1514 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1515 <dd class="method-signature">.dialog( "option"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1516
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1517 , optionName
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1518
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1519 , <span class="optional">[</span>value<span class="optional">] </span>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1520
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1521
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1522
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1523 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1524 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1525 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1526 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1527 <p>Get or set any dialog option. If no value is specified, will act as a getter.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1528 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1529 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1530
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1531
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1532 <li class="method" id="method-option">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1533 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1534 <h3 class="method-name"><a href="#method-option">option</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1535 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1536 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1537 <dd class="method-signature">.dialog( "option"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1538
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1539 , options
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1540
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1541
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1542
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1543
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1544
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1545 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1546 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1547 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1548 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1549 <p>Set multiple dialog options at once by providing an options object.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1550 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1551 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1552
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1553
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1554 <li class="method" id="method-widget">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1555 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1556 <h3 class="method-name"><a href="#method-widget">widget</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1557 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1558 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1559 <dd class="method-signature">.dialog( "widget"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1560
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1561
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1562
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1563
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1564
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1565
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1566
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1567 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1568 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1569 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1570 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1571 <p>Returns the .ui-dialog element.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1572 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1573 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1574
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1575
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1576 <li class="method" id="method-close">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1577 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1578 <h3 class="method-name"><a href="#method-close">close</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1579 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1580 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1581 <dd class="method-signature">.dialog( "close"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1582
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1583
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1584
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1585
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1586
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1587
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1588
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1589 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1590 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1591 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1592 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1593 <p>Close the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1594 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1595 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1596
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1597
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1598 <li class="method" id="method-isOpen">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1599 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1600 <h3 class="method-name"><a href="#method-isOpen">isOpen</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1601 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1602 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1603 <dd class="method-signature">.dialog( "isOpen"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1604
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1605
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1606
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1607
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1608
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1609
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1610
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1611 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1612 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1613 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1614 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1615 <p>Returns true if the dialog is currently open.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1616 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1617 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1618
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1619
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1620 <li class="method" id="method-moveToTop">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1621 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1622 <h3 class="method-name"><a href="#method-moveToTop">moveToTop</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1623 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1624 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1625 <dd class="method-signature">.dialog( "moveToTop"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1626
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1627
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1628
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1629
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1630
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1631
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1632
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1633 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1634 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1635 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1636 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1637 <p>Move the dialog to the top of the dialogs stack.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1638 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1639 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1640
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1641
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1642 <li class="method" id="method-open">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1643 <div class="method-header">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1644 <h3 class="method-name"><a href="#method-open">open</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1645 <dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1646 <dt class="method-signature-label">Signature:</dt>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1647 <dd class="method-signature">.dialog( "open"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1648
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1649
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1650
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1651
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1652
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1653
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1654
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1655 )</dd>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1656 </dl>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1657 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1658 <div class="method-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1659 <p>Open the dialog.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1660 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1661 </li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1662
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1663 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1664 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1665 <div id="theming">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1666 <h2 class="top-header">Theming</h2>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1667 <p>The jQuery UI Dialog plugin uses the jQuery UI CSS Framework to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool to create and download custom themes that are easy to build and maintain.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1668 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1669 <p>If a deeper level of customization is needed, there are widget-specific classes referenced within the jquery.ui.dialog.css stylesheet that can be modified. These classes are highlighed in bold below.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1670 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1671
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1672 <h3>Sample markup with jQuery UI CSS Framework classes</h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1673 &lt;div class=&quot;<strong>ui-dialog</strong> ui-widget ui-widget-content ui-corner-all ui-draggable ui-resizable&quot;&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1674 &nbsp;&nbsp;&nbsp;&lt;div class=&quot;<strong>ui-dialog-titlebar</strong> ui-widget-header ui-corner-all ui-helper-clearfix&quot;&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1675 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span id=&quot;<strong>ui-dialog-title-dialog</strong>&quot; class=&quot;ui-dialog-title&quot;&gt;Dialog title&lt;/span&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1676 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;a class=&quot;<strong>ui-dialog-titlebar-close</strong> ui-corner-all&quot; href=&quot;#&quot;&gt;&lt;span class=&quot;ui-icon ui-icon-closethick&quot;&gt;close&lt;/span&gt;&lt;/a&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1677 &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1678 &nbsp;&nbsp;&nbsp;&lt;div style=&quot;height: 200px; min-height: 109px; width: auto;&quot; class=&quot;<strong>ui-dialog-content</strong> ui-widget-content&quot; id=&quot;dialog&quot;&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1679 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Dialog content goes here.&lt;/p&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1680 &nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1681 &lt;/div&gt;<br />
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1682 <p class="theme-note">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1683 <strong>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1684 Note: This is a sample of markup generated by the dialog plugin, not markup you should use to create a dialog. The only markup needed for that is &lt;div&gt;&lt;/div&gt;.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1685 </strong>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1686 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1687
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1688 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1689 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1690
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1691 </p><!--
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1692 Pre-expand include size: 66595 bytes
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1693 Post-expand include size: 113099 bytes
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1694 Template argument size: 62032 bytes
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1695 Maximum: 2097152 bytes
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1696 -->
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1697
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1698 <!-- Saved in parser cache with key jqdocs_docs:pcache:idhash:3775-1!1!0!!en!2 and timestamp 20110315194523 -->