aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-30 20:42:03 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-01-30 20:42:03 +0000
commit5484aad00526277a55e0a54fc861b08b2d5660eb (patch)
tree1ac4c8c09d93baff2f7b3c2e8f9862e5ef995d0a /tests
parent1322a98df99abae1d4bbebe863a2acc10694552c (diff)
downloadjquery-ui-5484aad00526277a55e0a54fc861b08b2d5660eb.tar.gz
jquery-ui-5484aad00526277a55e0a54fc861b08b2d5660eb.zip
accordion: added ul-visual-test; improved solution for fixing ul-accordions, no more potential scope issues
Diffstat (limited to 'tests')
-rw-r--r--tests/visual/accordion/ul.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/visual/accordion/ul.html b/tests/visual/accordion/ul.html
new file mode 100644
index 000000000..9ba47824f
--- /dev/null
+++ b/tests/visual/accordion/ul.html
@@ -0,0 +1,45 @@
+<!doctype html>
+<html>
+ <head>
+ <title>Accordion Visual Test : UL</title>
+ <link rel="stylesheet" href="../../static/static.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.base.css" type="text/css" />
+ <link rel="stylesheet" href="../../../themes/base/ui.theme.css" type="text/css" title="ui-theme" />
+ <script type="text/javascript" src="../../../jquery-1.3.1.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()
+ });
+ </script>
+ </head>
+ <body>
+ <ul id="accordion">
+ <li>
+ <h2>
+ <a href="#">Accordion Header 1</a>
+ </h2>
+ <div>
+ Accordion Content 1
+ <ul>
+ <li>Some list item</li>
+ <li>Some list item</li>
+ </ul>
+ </div>
+ </li>
+ <li>
+ <h2>
+ <a href="#">Accordion Header 2</a>
+ </h2>
+ <div>Accordion Content 2</div>
+ </li>
+ <li>
+ <h2>
+ <a href="#">Accordion Header 3</a>
+ </h2>
+ <div>Accordion Content 2</div>
+ </li>
+ </ul>
+ </body>
+</html>