r2363 - added accordion visual test: option autoHeight true
Author: rdworth
Date: Mon Mar 23 05:43:17 2009
New Revision: 2363
Added:
trunk/tests/visual/accordion/accordion_option_autoHeight_true.html
(contents, props changed)
Log:
added accordion visual test: option autoHeight true
Added: trunk/tests/visual/accordion/accordion_option_autoHeight_true.html
==============================================================================
--- (empty file)
+++ trunk/tests/visual/accordion/accordion_option_autoHeight_true.html Mon
Mar 23 05:43:17 2009
@@ -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
+ paragraph
+ paragraph
+ paragraph
+ paragraph
+ paragraph
+ paragraph
+ paragraph
+ </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>