source: main/trunk/greenstone3/web/interfaces/oran/js/jquery-ui-1.8rc1/demos/dialog/modal-message.html@ 24245

Last change on this file since 24245 was 24245, checked in by sjb48, 13 years ago

Oran code for supporting format changes to document.

  • Property svn:executable set to *
File size: 2.7 KB
Line 
1<!doctype html>
2<html lang="en">
3<head>
4 <title>jQuery UI Dialog - Modal message</title>
5 <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6 <script type="text/javascript" src="../../jquery-1.4.1.js"></script>
7 <script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js"></script>
8 <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
9 <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
10 <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
11 <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
12 <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
13 <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
14 <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
15 <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
16 <link type="text/css" href="../demos.css" rel="stylesheet" />
17 <script type="text/javascript">
18 $(function() {
19 // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore!
20 $("#dialog").dialog("destroy");
21
22 $("#dialog-message").dialog({
23 modal: true,
24 buttons: {
25 Ok: function() {
26 $(this).dialog('close');
27 }
28 }
29 });
30 });
31 </script>
32</head>
33<body>
34
35<div class="demo">
36
37<div id="dialog-message" title="Download complete">
38 <p>
39 <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
40 Your files have downloaded successfully into the My Downloads folder.
41 </p>
42 <p>
43 Currently using <b>36% of your storage space</b>.
44 </p>
45</div>
46
47<!-- Sample page content to illustrate the layering of the dialog -->
48<div class="hiddenInViewSource" style="padding:20px;">
49 <p>Sed vel diam id libero <a href="http://example.com">rutrum convallis</a>. Donec aliquet leo vel magna. Phasellus rhoncus faucibus ante. Etiam bibendum, enim faucibus aliquet rhoncus, arcu felis ultricies neque, sit amet auctor elit eros a lectus.</p>
50 <form>
51 <input value="text input" /><br />
52 <input type="checkbox" />checkbox<br />
53 <input type="radio" />radio<br />
54 <select>
55 <option>select</option>
56 </select><br /><br />
57 <textarea>textarea</textarea><br />
58 </form>
59</div><!-- End sample page content -->
60
61</div><!-- End demo -->
62
63<div class="demo-description">
64
65<p>Use a modal dialog to explicitly acknowledge information or an action before continuing their work. Set the <code>modal</code> option to true, and specify a primary action (Ok) with the <code>buttons</code> option.</p>
66
67</div><!-- End demo-description -->
68
69</body>
70</html>
Note: See TracBrowser for help on using the repository browser.