aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion/no-auto-height.html
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-31 05:56:46 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-31 05:56:46 +0000
commitac8b734e987c05854e4e3c75dd1bfe1c89ca8bb4 (patch)
tree39d5053afaccf513e8f2a4c6c50c78317e6969ff /demos/accordion/no-auto-height.html
parent4db23193c8a470653916edf555af6205ec6a653c (diff)
downloadjquery-ui-ac8b734e987c05854e4e3c75dd1bfe1c89ca8bb4.tar.gz
jquery-ui-ac8b734e987c05854e4e3c75dd1bfe1c89ca8bb4.zip
accordion demos: file rename
Diffstat (limited to 'demos/accordion/no-auto-height.html')
-rw-r--r--demos/accordion/no-auto-height.html57
1 files changed, 57 insertions, 0 deletions
diff --git a/demos/accordion/no-auto-height.html b/demos/accordion/no-auto-height.html
new file mode 100644
index 000000000..18e5cc10c
--- /dev/null
+++ b/demos/accordion/no-auto-height.html
@@ -0,0 +1,57 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Accordion - No Auto Height</title>
+ <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../ui/ui.accordion.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <script type="text/javascript">
+ $(function() {
+ $("#accordion").accordion({
+ autoHeight: false
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<div id="accordion">
+ <h3><a href="#">Section 1</a></h3>
+ <div>
+ <p>Mauris mauris ante, blandit et, ultrices a, susceros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.</p>
+ </div>
+ <h3><a href="#">Section 2</a></h3>
+ <div>
+ <p>Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. </p>
+ </div>
+ <h3><a href="#">Section 3</a></h3>
+ <div>
+ <p>Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. </p>
+ <ul>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ <li>List item</li>
+ </ul>
+ </div>
+</div>
+
+</div><!-- End demo -->
+
+
+
+<div class="demo-description">
+
+<p>Setting <code>autoHeight: false</code> allows to accordion panels to keep their native height.</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>