57 lines
1.7 KiB
HTML
57 lines
1.7 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<title>MessageBox</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
|
|
|
|
<!-- GC --> <!-- LIBS --> <script type="text/javascript" src="../../adapter/yui/yui-utilities.js"></script> <script type="text/javascript" src="../../adapter/yui/ext-yui-adapter.js"></script> <!-- ENDLIBS -->
|
|
<script type="text/javascript" src="../../ext-all.js"></script>
|
|
<script type="text/javascript" src="msg-box.js"></script>
|
|
|
|
<!-- Common Styles for the examples -->
|
|
<link rel="stylesheet" type="text/css" href="../examples.css" />
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
|
|
<h1>MessageBox Dialogs</h1>
|
|
<p>The example shows how to use the MessageBox class. Some of the buttons have animations, some are normal.</p>
|
|
<p>The js is not minified so it is readable. See <a href="msg-box.js">msg-box.js</a>.</p>
|
|
|
|
<p>
|
|
<b>Confirm</b><br />
|
|
Standard Yes/No dialog.
|
|
<button id="mb1">Show Me</button>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Prompt</b><br />
|
|
Standard prompt dialog.
|
|
<button id="mb2">Show Me</button>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Multi-line Prompt</b><br />
|
|
A multi-line prompt dialog.
|
|
<button id="mb3">Show Me</button>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Yes/No/Cancel</b><br />
|
|
Standard Yes/No/Cancel dialog.
|
|
<button id="mb4">Show Me</button>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Progress Dialog</b><br />
|
|
You can set a progress on a progress MessageBox.
|
|
<button id="mb6">Show Me</button>
|
|
</p>
|
|
|
|
<p>
|
|
<b>Alert</b><br />
|
|
Standard alert message dialog.
|
|
<button id="mb7">Show Me</button>
|
|
</p>
|
|
</body>
|
|
</html>
|