diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-13 11:31:15 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-13 11:31:15 +0000 |
commit | 00cc93960367130a0f326a07ed1905b930dabb2e (patch) | |
tree | c410133db82b414c0633d8be1199aada77610ce6 /tests | |
parent | 71528f7fc48422a55d54196ba0a31617d28578ce (diff) | |
download | jquery-ui-00cc93960367130a0f326a07ed1905b930dabb2e.tar.gz jquery-ui-00cc93960367130a0f326a07ed1905b930dabb2e.zip |
tests/visual: fixed Accordion test on all.html page.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/visual/accordion.html | 16 | ||||
-rw-r--r-- | tests/visual/all.html | 14 |
2 files changed, 14 insertions, 16 deletions
diff --git a/tests/visual/accordion.html b/tests/visual/accordion.html index f66212094..afbb0c525 100644 --- a/tests/visual/accordion.html +++ b/tests/visual/accordion.html @@ -10,9 +10,7 @@ <script type="text/javascript">
$(function() {
function on() {
- $("#accordion").accordion({
- header: "h3"
- });
+ $("#accordion").accordion({ header: "h3" });
}
function off() {
$("#accordion").accordion("destroy");
@@ -28,21 +26,21 @@ Accordion
<div id="accordion">
<div>
- <h3><a href="#">Test 1</a></h3>
+ <h3><a href="#">First</a></h3>
<div>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit
+ Lorem ipsum dolor sit amet.
</div>
</div>
<div>
- <h3><a href="#">Test 2</a></h3>
+ <h3><a href="#">Second</a></h3>
<div>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit
+ Phasellus mattis tincidunt nibh.
</div>
</div>
<div>
- <h3><a href="#">Test 3</a></h3>
+ <h3><a href="#">Third</a></h3>
<div>
- Lorem ipsum dolor sit amet, consectetur adipisicing elit
+ Nam dui erat, auctor a, dignissim quis.
</div>
</div>
</div>
diff --git a/tests/visual/all.html b/tests/visual/all.html index f4f9a6ec7..e5a167568 100644 --- a/tests/visual/all.html +++ b/tests/visual/all.html @@ -19,7 +19,7 @@ <script type="text/javascript" src="../../ui/ui.tabs.js"></script> <script type="text/javascript"> $(function() { - $("#accordion").accordion(); + $("#accordion").accordion({ header: "h3" }); $("#datepicker").datepicker(); var dlg = $("#dlg").remove(); $("#dialog").click(function() { @@ -49,21 +49,21 @@ Accordion <div id="accordion"> <div> - <h3><a href="#">Test 1</a></h3> + <h3><a href="#">First</a></h3> <div> - Lorem ipsum dolor sit amet, consectetur adipisicing elit + Lorem ipsum dolor sit amet. </div> </div> <div> - <h3><a href="#">Test 2</a></h3> + <h3><a href="#">Second</a></h3> <div> - Lorem ipsum dolor sit amet, consectetur adipisicing elit + Phasellus mattis tincidunt nibh. </div> </div> <div> - <h3><a href="#">Test 3</a></h3> + <h3><a href="#">Third</a></h3> <div> - Lorem ipsum dolor sit amet, consectetur adipisicing elit + Nam dui erat, auctor a, dignissim quis. </div> </div> </div> |