4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>MessageBox</title>
6 <style type="text/css">
7 .x-message-box .ext-mb-download {
8 background: url("images/download.gif") no-repeat scroll 6px 0px transparent;
9 height: 52px!important;
12 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
13 <link rel="stylesheet" type="text/css" href="../shared/example.css" />
14 <script type="text/javascript" src="../../bootstrap.js"></script>
15 <script type="text/javascript" src="../shared/examples.js"></script>
16 <script src="msg-box.js"></script>
19 <h1>MessageBox Dialogs</h1>
20 <p>The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.</p>
21 <p>The js is not minified so it is readable. See <a href="msg-box.js">msg-box.js</a>.</p>
25 Standard Yes/No dialog.
26 <button id="mb1">Show</button>
31 Standard prompt dialog.
32 <button id="mb2">Show</button>
36 <b>Multi-line Prompt</b><br />
37 A multi-line prompt dialog.
38 <button id="mb3">Show</button>
42 <b>Yes/No/Cancel</b><br />
43 Standard Yes/No/Cancel dialog.
44 <button id="mb4">Show</button>
48 <b>Progress Dialog</b><br />
49 Dialog with measured progress bar.
50 <button id="mb6">Show</button>
54 <b>Wait Dialog</b><br />
55 Dialog with indefinite progress bar and custom icon (will close after 8 sec).
56 <button id="mb7">Show</button>
61 Standard alert message dialog.
62 <button id="mb8">Show</button>
67 Standard alert with optional icon.
69 <option id="error" selected="selected">Error</option>
70 <option id="info">Informational</option>
71 <option id="question">Question</option>
72 <option id="warning">Warning</option>
74 <button id="mb9">Show</button>