diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-10 09:01:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-10 09:01:54 -0400 |
commit | 98fb8c836220730bb9d7c0d73d6766d2b898d773 (patch) | |
tree | 6589b13389e6ec28f738da9f360543e9ed225cf8 /demos/dialog/modal-confirmation.html | |
parent | 6df7729714075c1b26566eca6fa9b8a4ff3d3c63 (diff) | |
download | jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.tar.gz jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.zip |
Dialog demos: Coding standards.
Diffstat (limited to 'demos/dialog/modal-confirmation.html')
-rw-r--r-- | demos/dialog/modal-confirmation.html | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/demos/dialog/modal-confirmation.html b/demos/dialog/modal-confirmation.html index 4affb5964..77aa15931 100644 --- a/demos/dialog/modal-confirmation.html +++ b/demos/dialog/modal-confirmation.html @@ -1,34 +1,34 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta charset="UTF-8" /> + <meta charset="utf-8"> <title>jQuery UI Dialog - Modal confirmation</title> - <link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" /> - <script type="text/javascript" src="../../jquery-1.4.2.js"></script> - <script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.core.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.button.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.position.js"></script> - <script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script> - <link type="text/css" href="../demos.css" rel="stylesheet" /> - <script type="text/javascript"> + <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> + <script src="../../jquery-1.4.2.js"></script> + <script src="../../external/jquery.bgiframe-2.1.1.js"></script> + <script src="../../ui/jquery.ui.core.js"></script> + <script src="../../ui/jquery.ui.widget.js"></script> + <script src="../../ui/jquery.ui.mouse.js"></script> + <script src="../../ui/jquery.ui.button.js"></script> + <script src="../../ui/jquery.ui.draggable.js"></script> + <script src="../../ui/jquery.ui.position.js"></script> + <script src="../../ui/jquery.ui.dialog.js"></script> + <link rel="stylesheet" href="../demos.css"> + <script> $(function() { // a workaround for a flaw in the demo system (http://dev.jqueryui.com/ticket/4375), ignore! - $("#dialog").dialog("destroy"); + $( "#dialog" ).dialog( "destroy" ); - $("#dialog-confirm").dialog({ + $( "#dialog-confirm" ).dialog({ resizable: false, height:140, modal: true, buttons: { - 'Delete all items': function() { - $(this).dialog('close'); + "Delete all items": function() { + $( this ).dialog( "close" ); }, Cancel: function() { - $(this).dialog('close'); + $( this ).dialog( "close" ); } } }); @@ -59,10 +59,10 @@ </div><!-- End demo --> -<div class="demo-description"> -<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> +<div class="demo-description"> +<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> </div><!-- End demo-description --> </body> |