aboutsummaryrefslogtreecommitdiffstats
path: root/demos/resizable/max-min.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/max-min.html
parentf02c41ec51a72d62c8f3e3de47f31b3cb1976a9b (diff)
downloadjquery-ui-6b6e1d76e701c80a2431c2806550e6b2160074dc.tar.gz
jquery-ui-6b6e1d76e701c80a2431c2806550e6b2160074dc.zip
Resizable demos: coding standards.
Diffstat (limited to 'demos/resizable/max-min.html')
-rw-r--r--demos/resizable/max-min.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/demos/resizable/max-min.html b/demos/resizable/max-min.html
index a1c9f6f86..83277bbd0 100644
--- a/demos/resizable/max-min.html
+++ b/demos/resizable/max-min.html
@@ -1,22 +1,22 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="UTF-8" />
+ <meta charset="utf-8">
<title>jQuery UI Resizable - Maximum / minimum size</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">
+ <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>
#resizable { width: 200px; height: 150px; padding: 5px; }
#resizable h3 { text-align: center; margin: 0; }
</style>
- <script type="text/javascript">
+ <script>
$(function() {
- $("#resizable").resizable({
+ $( "#resizable" ).resizable({
maxHeight: 250,
maxWidth: 350,
minHeight: 150,
@@ -26,6 +26,7 @@
</script>
</head>
<body>
+
<div class="demo">
<div id="resizable" class="ui-widget-content">
@@ -34,10 +35,11 @@
</div><!-- End demo -->
-<div class="demo-description">
-<p>Limit the resizable element to a maximum or minimum height or width using the <code>maxHeight</code>, <code>maxWidth</code>, <code>minHeight</code>, and <code>minWidth</code> options.</p>
+<div class="demo-description">
+<p>Limit the resizable element to a maximum or minimum height or width using the <code>maxHeight</code>, <code>maxWidth</code>, <code>minHeight</code>, and <code>minWidth</code> options.</p>
</div><!-- End demo-description -->
+
</body>
</html>