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.html | |
parent | 6df7729714075c1b26566eca6fa9b8a4ff3d3c63 (diff) | |
download | jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.tar.gz jquery-ui-98fb8c836220730bb9d7c0d73d6766d2b898d773.zip |
Dialog demos: Coding standards.
Diffstat (limited to 'demos/dialog/modal.html')
-rw-r--r-- | demos/dialog/modal.html | 35 |
1 files changed, 17 insertions, 18 deletions
diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html index 2846d57d5..832d66f6a 100644 --- a/demos/dialog/modal.html +++ b/demos/dialog/modal.html @@ -1,25 +1,25 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta charset="UTF-8" /> + <meta charset="utf-8"> <title>jQuery UI Dialog - Basic modal</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.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.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-modal").dialog({ + $( "#dialog-modal" ).dialog({ height: 140, modal: true }); @@ -28,7 +28,6 @@ </head> <body> - <div class="demo"> <div id="dialog-modal" title="Basic modal dialog"> @@ -51,10 +50,10 @@ </div><!-- End demo --> -<div class="demo-description"> -<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed.</p> +<div class="demo-description"> +<p>A modal dialog prevents the user from interacting with the rest of the page until it is closed.</p> </div><!-- End demo-description --> </body> |