aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/accordion/dl.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2009-01-30 02:35:37 +0000
committerScott González <scott.gonzalez@gmail.com>2009-01-30 02:35:37 +0000
commit2c1d4675a8e5424861db3d797e5fa38760c0a872 (patch)
tree40a1845d00059c29434c1af3dff0ef2499a0b51b /tests/visual/accordion/dl.html
parent1631cf4ba3615ac6b61a3bf298c7132081dc28ea (diff)
downloadjquery-ui-2c1d4675a8e5424861db3d797e5fa38760c0a872.tar.gz
jquery-ui-2c1d4675a8e5424861db3d797e5fa38760c0a872.zip
Accordion: Fixed #3788: Removed wrapper divs and smoothed animations, allowing accordions to work with dl's and ul's again.
Diffstat (limited to 'tests/visual/accordion/dl.html')
-rw-r--r--tests/visual/accordion/dl.html43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/visual/accordion/dl.html b/tests/visual/accordion/dl.html
new file mode 100644
index 000000000..9bc8886e8
--- /dev/null
+++ b/tests/visual/accordion/dl.html
@@ -0,0 +1,43 @@
+<!doctype html>
+<html>
+<head>
+ <title>Accordion Static Test : DL</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() {
+ $("dl").accordion({
+ header: "dt"
+ })
+ });
+ </script>
+</head>
+<body>
+
+<dl>
+ <dt>
+ <a href="#">Accordion Header 1</a>
+ </dt>
+ <dd>
+ Accordion Content 1
+ </dd>
+ <dt>
+ <a href="#">Accordion Header 2</a>
+ </dt>
+ <dd>
+ Accordion Content 2
+ </dd>
+ <dt>
+ <a href="#">Accordion Header 3</a>
+ </dt>
+ <dd>
+ Accordion Content 2
+ </dd>
+</dl>
+
+</body>
+</html>