aboutsummaryrefslogtreecommitdiffstats
path: root/demos/resizable/textarea.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-27 15:42:06 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-27 15:42:06 -0400
commit6b6e1d76e701c80a2431c2806550e6b2160074dc (patch)
tree33047892e5d7a7f38bb2dc15f919bc2db1bf6fea /demos/resizable/textarea.html
parentf02c41ec51a72d62c8f3e3de47f31b3cb1976a9b (diff)
downloadjquery-ui-6b6e1d76e701c80a2431c2806550e6b2160074dc.tar.gz
jquery-ui-6b6e1d76e701c80a2431c2806550e6b2160074dc.zip
Resizable demos: coding standards.
Diffstat (limited to 'demos/resizable/textarea.html')
-rw-r--r--demos/resizable/textarea.html34
1 files changed, 18 insertions, 16 deletions
diff --git a/demos/resizable/textarea.html b/demos/resizable/textarea.html
index 2e6e42f9e..b63510d5c 100644
--- a/demos/resizable/textarea.html
+++ b/demos/resizable/textarea.html
@@ -1,39 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Resizable - Textarea</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.mouse.js"></script>
- <script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
- <link type="text/css" href="../demos.css" rel="stylesheet" />
- <style type="text/css">
- .ui-resizable-se {
- bottom: 17px;
- }
+ <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.mouse.js"></script>
+ <script src="../../ui/jquery.ui.resizable.js"></script>
+ <link rel="stylesheet" href="../demos.css">
+ <style>
+ .ui-resizable-se {
+ bottom: 17px;
+ }
</style>
- <script type="text/javascript">
+ <script>
$(function() {
- $("#resizable").resizable({
+ $( "#resizable" ).resizable({
handles: "se"
});
});
</script>
</head>
<body>
+
<div class="demo">
<textarea id="resizable" rows="5" cols="20"></textarea>
</div><!-- End demo -->
-<div class="demo-description">
-<p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p>
+<div class="demo-description">
+<p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p>
</div><!-- End demo-description -->
+
</body>
</html>