aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/accordion
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-01-24 04:31:59 +0000
committerRichard Worth <rdworth@gmail.com>2009-01-24 04:31:59 +0000
commit06953372ecfe117a6070f4a93ba5a76dce90f6f9 (patch)
tree39d241cdf62dcc0256eb1b41a54282eee002a4c5 /tests/visual/accordion
parentd70844ff4ecc268da853bfdcecfce0ff9a6fe886 (diff)
downloadjquery-ui-06953372ecfe117a6070f4a93ba5a76dce90f6f9.tar.gz
jquery-ui-06953372ecfe117a6070f4a93ba5a76dce90f6f9.zip
tests/visual: added default tests
Diffstat (limited to 'tests/visual/accordion')
-rw-r--r--tests/visual/accordion/default.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/visual/accordion/default.html b/tests/visual/accordion/default.html
new file mode 100644
index 000000000..256f48eef
--- /dev/null
+++ b/tests/visual/accordion/default.html
@@ -0,0 +1,39 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Accordion Visual Test : Default</title>
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <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({ header: "h3" });
+ })
+ </script>
+</head>
+<body>
+
+<div id="accordion">
+ <div>
+ <h3><a href="#">First</a></h3>
+ <div>
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Second</a></h3>
+ <div>
+ Phasellus mattis tincidunt nibh. Cras orci urna, blandit id, pretium vel, aliquet ornare, felis. Maecenas scelerisque sem non nisl. Fusce sed lorem in enim dictum bibendum.
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Third</a></h3>
+ <div>
+ Nam dui erat, auctor a, dignissim quis, sollicitudin eu, felis. Pellentesque nisi urna, interdum eget, sagittis et, consequat vestibulum, lacus. Mauris porttitor ullamcorper augue.
+ </div>
+ </div>
+</div>
+
+</body>
+</html>