3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
\r
4 <title>MessageBox</title>
\r
7 <link rel="stylesheet" type="text/css" href="../../css/roojs.css"/>
8 <link rel="stylesheet" type="text/css" href="../../css/xtheme-slate.css"/>
11 <script type="text/javascript" src="../../roojs-all.js"></script>
13 <script type="text/javascript" src="msg-box.js"></script>
\r
15 <!-- Common Styles for the examples -->
\r
16 <link rel="stylesheet" type="text/css" href="../examples.css" />
\r
19 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
\r
20 <h1>MessageBox Dialogs</h1>
\r
21 <p>The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.</p>
\r
22 <p>The js is not minified so it is readable. See
23 <button type="button" onclick="RooDocs.viewSource.show('/msg-box.js')">msg-box.js</button> and
24 <button type="button" onclick="RooDocs.viewSource.show('/msg-box.html')">msg-box.html</button>
28 <b>Confirm</b><br />
\r
29 Standard Yes/No dialog.
\r
30 <button id="mb1">Show Me</button>
\r
35 Standard prompt dialog.
\r
36 <button id="mb2">Show Me</button>
\r
40 <b>Multi-line Prompt</b><br />
\r
41 A multi-line prompt dialog.
\r
42 <button id="mb3">Show Me</button>
\r
46 <b>Yes/No/Cancel</b><br />
\r
47 Standard Yes/No/Cancel dialog.
\r
48 <button id="mb4">Show Me</button>
\r
52 <b>Progress Dialog</b><br />
\r
53 You can set a progress on a progress MessageBox.
\r
54 <button id="mb6">Show Me</button>
\r
59 Standard alert message dialog.
\r
60 <button id="mb7">Show Me</button>
\r