Skip to content
Permalink
Browse files

added accordion visual test: option autoHeight true

  • Loading branch information
rdworth committed Mar 23, 2009
1 parent 996a8fa commit d264f1b8c492e9bf5488e9a0fb65c3d7f1bddde4
Showing with 48 additions and 0 deletions.
  1. +48 −0 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>

0 comments on commit d264f1b

Please sign in to comment.
You can’t perform that action at this time.