aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-03-23 12:43:17 +0000
committerRichard Worth <rdworth@gmail.com>2009-03-23 12:43:17 +0000
commitd264f1b8c492e9bf5488e9a0fb65c3d7f1bddde4 (patch)
tree5cfff38cfa0217fa2ebd1d4f8afe4a44f8d861ce /tests/visual
parent996a8fa1d0af82d419120f67e6c0c0fb3490ced2 (diff)
downloadjquery-ui-d264f1b8c492e9bf5488e9a0fb65c3d7f1bddde4.tar.gz
jquery-ui-d264f1b8c492e9bf5488e9a0fb65c3d7f1bddde4.zip
added accordion visual test: option autoHeight true
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/accordion/accordion_option_autoHeight_true.html48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/visual/accordion/accordion_option_autoHeight_true.html b/tests/visual/accordion/accordion_option_autoHeight_true.html
new file mode 100644
index 000000000..14089a8bb
--- /dev/null
+++ b/tests/visual/accordion/accordion_option_autoHeight_true.html
@@ -0,0 +1,48 @@
+<!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({
+ autoHeight: true
+ });
+ })
+ </script>
+</head>
+<body>
+
+<div id="accordion">
+ <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>
+
+</body>
+</html>