diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-09 22:43:06 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-09 22:45:43 -0400 |
commit | 8b4d1877465d92de68c83a92b9c2eee2a5e096fa (patch) | |
tree | 2ee4054cd75128faa49a66e477cd05342142d494 /demos/button/radio.html | |
parent | eba3067479676d9fde9e1fcca76ba720cd9a4cee (diff) | |
download | jquery-ui-8b4d1877465d92de68c83a92b9c2eee2a5e096fa.tar.gz jquery-ui-8b4d1877465d92de68c83a92b9c2eee2a5e096fa.zip |
Button demos: Coding standards.
Diffstat (limited to 'demos/button/radio.html')
-rw-r--r-- | demos/button/radio.html | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/demos/button/radio.html b/demos/button/radio.html index 3e5dc2379..62bab21a0 100644 --- a/demos/button/radio.html +++ b/demos/button/radio.html @@ -1,46 +1,39 @@ <!DOCTYPE html> <html lang="en"> <head> - <meta charset="UTF-8" /> - <title>jQuery UI Button - Radio Buttons demo</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="../../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.button.js"></script> - <link type="text/css" href="../demos.css" rel="stylesheet" /> - <script type="text/javascript"> + <meta charset="utf-8"> + <title>jQuery UI Button - Radios</title> + <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> + <script src="../../jquery-1.4.2.js"></script> + <script src="../../ui/jquery.ui.core.js"></script> + <script src="../../ui/jquery.ui.widget.js"></script> + <script src="../../ui/jquery.ui.button.js"></script> + <link rel="stylesheet" href="../demos.css"> + <script> $(function() { - $("#radio").buttonset(); + $( "#radio" ).buttonset(); }); </script> - <style> - - </style> </head> <body> <div class="demo"> - <form> - <div id="radio"> - <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label> - <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label> - <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label> - </div> - </form> +<form> + <div id="radio"> + <input type="radio" id="radio1" name="radio" /><label for="radio1">Choice 1</label> + <input type="radio" id="radio2" name="radio" checked="checked" /><label for="radio2">Choice 2</label> + <input type="radio" id="radio3" name="radio" /><label for="radio3">Choice 3</label> + </div> +</form> </div><!-- End demo --> <div class="demo-description"> - <p>A set of three radio buttons transformed into a button set.</p> - </div><!-- End demo-description --> - - </body> </html> |