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-message.html | |
parent | 6df7729714075c1b26566eca6fa9b8a4ff3d3c63 (diff) | |
download | jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.tar.gz jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.zip |
Dialog demos: Coding standards.
Diffstat (limited to 'demos/dialog/modal-message.html')
-rw-r--r-- | demos/dialog/modal-message.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html index a0ab01b21..985f2aba0 100644 --- a/demos/dialog/modal-message.html +++ b/demos/dialog/modal-message.html @@ -1,30 +1,30 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta charset="UTF-8" /> + <meta charset="utf-8"> <title>jQuery UI Dialog - Modal message</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.resizable.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.resizable.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-message").dialog({ + $( "#dialog-message" ).dialog({ modal: true, buttons: { Ok: function() { - $(this).dialog('close'); + $( this ).dialog( "close" ); } } }); @@ -61,10 +61,10 @@ </div><!-- End demo --> -<div class="demo-description"> -<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> +<div class="demo-description"> +<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> </div><!-- End demo-description --> </body> |