comparison src/main/webapp/imageServer/resources/js/jquery-ui-1.10.4/demos/dialog/modal-confirmation.html @ 7:764f47286679

(none)
author jurzua
date Wed, 29 Oct 2014 14:28:34 +0000
parents
children
comparison
equal deleted inserted replaced
6:ded3bccf2cf9 7:764f47286679
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>jQuery UI Dialog - Modal confirmation</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.10.2.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.dialog.js"></script>
15 <link rel="stylesheet" href="../demos.css">
16 <script>
17 $(function() {
18 $( "#dialog-confirm" ).dialog({
19 resizable: false,
20 height:140,
21 modal: true,
22 buttons: {
23 "Delete all items": function() {
24 $( this ).dialog( "close" );
25 },
26 Cancel: function() {
27 $( this ).dialog( "close" );
28 }
29 }
30 });
31 });
32 </script>
33 </head>
34 <body>
35
36 <div id="dialog-confirm" title="Empty the recycle bin?">
37 <p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>These items will be permanently deleted and cannot be recovered. Are you sure?</p>
38 </div>
39
40 <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>
41
42 <div class="demo-description">
43 <p>Confirm an action that may be destructive or important. Set the <code>modal</code> option to true, and specify primary and secondary user actions with the <code>buttons</code> option.</p>
44 </div>
45 </body>
46 </html>