0a6f81316a1a1f66f5bb1bc88df1d3040a59ed50
[myslice.git] / third-party / jquery-ui-1.10.2 / demos / dialog / modal-message.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4         <meta charset="utf-8">
5         <title>jQuery UI Dialog - Modal message</title>
6         <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7         <script src="../../jquery-1.9.1.js"></script>
8         <script src="../../ui/jquery.ui.core.js"></script>
9         <script src="../../ui/jquery.ui.widget.js"></script>
10         <script src="../../ui/jquery.ui.mouse.js"></script>
11         <script src="../../ui/jquery.ui.button.js"></script>
12         <script src="../../ui/jquery.ui.draggable.js"></script>
13         <script src="../../ui/jquery.ui.position.js"></script>
14         <script src="../../ui/jquery.ui.resizable.js"></script>
15         <script src="../../ui/jquery.ui.button.js"></script>
16         <script src="../../ui/jquery.ui.dialog.js"></script>
17         <link rel="stylesheet" href="../demos.css">
18         <script>
19         $(function() {
20                 $( "#dialog-message" ).dialog({
21                         modal: true,
22                         buttons: {
23                                 Ok: function() {
24                                         $( thisĀ ).dialog( "close" );
25                                 }
26                         }
27                 });
28         });
29         </script>
30 </head>
31 <body>
32
33 <div id="dialog-message" title="Download complete">
34         <p>
35                 <span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
36                 Your files have downloaded successfully into the My Downloads folder.
37         </p>
38         <p>
39                 Currently using <b>36% of your storage space</b>.
40         </p>
41 </div>
42
43 <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>
44
45 <div class="demo-description">
46 <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>
47 </div>
48 </body>
49 </html>