3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <title>MessageBox</title>
6 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
9 <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
12 <script type="text/javascript" src="../../ext-all.js"></script>
13 <script type="text/javascript" src="msg-box.js"></script>
15 <!-- Common Styles for the examples -->
16 <link rel="stylesheet" type="text/css" href="../shared/examples.css" />
18 <style type="text/css">
19 .x-window-dlg .ext-mb-download {
20 background:transparent url(images/download.gif) no-repeat top left;
26 <script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->
27 <h1>MessageBox Dialogs</h1>
28 <p>The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.</p>
29 <p>The js is not minified so it is readable. See <a href="msg-box.js">msg-box.js</a>.</p>
33 Standard Yes/No dialog.
34 <button id="mb1">Show</button>
39 Standard prompt dialog.
40 <button id="mb2">Show</button>
44 <b>Multi-line Prompt</b><br />
45 A multi-line prompt dialog.
46 <button id="mb3">Show</button>
50 <b>Yes/No/Cancel</b><br />
51 Standard Yes/No/Cancel dialog.
52 <button id="mb4">Show</button>
56 <b>Progress Dialog</b><br />
57 Dialog with measured progress bar.
58 <button id="mb6">Show</button>
62 <b>Wait Dialog</b><br />
63 Dialog with indefinite progress bar and custom icon (will close after 8 sec).
64 <button id="mb7">Show</button>
69 Standard alert message dialog.
70 <button id="mb8">Show</button>
75 Standard alert with optional icon.
77 <option id="error" selected="selected">Error</option>
78 <option id="info">Informational</option>
79 <option id="question">Question</option>
80 <option id="warning">Warning</option>
82 <button id="mb9">Show</button>