diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-11 18:46:00 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-08-11 18:46:00 +0000 |
commit | e132c1b363e66b0a4a03eeb17c4fdbf316c982fd (patch) | |
tree | 09006267ab590dd4c25dc0932bd66164a3701c04 /tests/visual/accordion | |
parent | 5c5e0832d4856289694db65efee5bb4abb48dfee (diff) | |
download | jquery-ui-e132c1b363e66b0a4a03eeb17c4fdbf316c982fd.tar.gz jquery-ui-e132c1b363e66b0a4a03eeb17c4fdbf316c982fd.zip |
accordion: fix for #4436
Diffstat (limited to 'tests/visual/accordion')
-rw-r--r-- | tests/visual/accordion/accordion_option_fillSpace_true.html | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/visual/accordion/accordion_option_fillSpace_true.html b/tests/visual/accordion/accordion_option_fillSpace_true.html new file mode 100644 index 000000000..06a06b4fb --- /dev/null +++ b/tests/visual/accordion/accordion_option_fillSpace_true.html @@ -0,0 +1,50 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>Accordion Visual Test : Accordion option autoHeight true</title>
+ <link rel="stylesheet" href="../visual.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.2.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#accordion").accordion({
+ fillSpace: true
+ });
+ })
+ </script>
+</head>
+<body>
+
+<div style="height: 500px; width: 500px; border: 1px solid red;">
+ <div id="accordion" style="width:490px;">
+ <h3><a href="#">Accordion Header 1</a></h3>
+ <div>
+ Accordion Content 1
+ </div>
+ <h3><a href="#">Accordion Header 2</a></h3>
+ <div>
+ Accordion Content 2
+ <p>paragraph</p>
+ <p>paragraph</p>
+ <p>paragraph</p>
+ <p>paragraph</p>
+ <p>paragraph</p>
+ <p>paragraph</p>
+ <p>paragraph</p>
+ </div>
+ <h3><a href="#">Accordion Header 3</a></h3>
+ <div>
+ Accordion Content 3
+ <ul>
+ <li>list item</li>
+ <li>list item</li>
+ <li>list item</li>
+ </ul>
+ </div>
+ </div>
+</div>
+
+</body>
+</html>
|