aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-08-05 12:16:43 +0000
committerRichard Worth <rdworth@gmail.com>2009-08-05 12:16:43 +0000
commitb5c0326d2a6b177d7c4328bb445178a5d5fa359d (patch)
tree9e3b183fa4625a869aa6fbd4319848b38c2b9359 /tests/visual
parent1a28670720cbc815647d42a045a2fac44c0cd479 (diff)
downloadjquery-ui-b5c0326d2a6b177d7c4328bb445178a5d5fa359d.tar.gz
jquery-ui-b5c0326d2a6b177d7c4328bb445178a5d5fa359d.zip
Accordion visual test: option navigation true
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/accordion/accordion_option_navigation_true.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/visual/accordion/accordion_option_navigation_true.html b/tests/visual/accordion/accordion_option_navigation_true.html
new file mode 100644
index 000000000..cda98933b
--- /dev/null
+++ b/tests/visual/accordion/accordion_option_navigation_true.html
@@ -0,0 +1,37 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Accordion Visual Test : Accordion option navigation 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" src="../../../ui/effects.core.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#accordion").accordion({
+ navigation: true
+ });
+ })
+ </script>
+</head>
+<body>
+
+<div id="accordion">
+ <h3><a href="#sec1">Accordion Header 1</a></h3>
+ <div>
+ Accordion Content 1
+ </div>
+ <h3><a href="#sec2">Accordion Header 2</a></h3>
+ <div>
+ Accordion Content 2
+ </div>
+ <h3><a href="#sec3">Accordion Header 3</a></h3>
+ <div>
+ Accordion Content 3
+ </div>
+</div>
+
+</body>
+</html>