diff options
author | Richard Worth <rdworth@gmail.com> | 2008-12-23 12:05:08 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-12-23 12:05:08 +0000 |
commit | 0aeb26d699ea7182571d1b0c56f75746cd0b9d6d (patch) | |
tree | 91df551ce69b99c54cf429ef880b668ab9ec17e7 | |
parent | de95fefbf01c4361b4c6801e3de35ae3dc0757a9 (diff) | |
download | jquery-ui-0aeb26d699ea7182571d1b0c56f75746cd0b9d6d.tar.gz jquery-ui-0aeb26d699ea7182571d1b0c56f75746cd0b9d6d.zip |
demos: Added default and mousover accordion demos
-rw-r--r-- | demos/accordion/default.html | 42 | ||||
-rw-r--r-- | demos/accordion/index.html | 1 | ||||
-rw-r--r-- | demos/accordion/mouseover.html | 43 | ||||
-rw-r--r-- | demos/demos.css | 1 |
4 files changed, 87 insertions, 0 deletions
diff --git a/demos/accordion/default.html b/demos/accordion/default.html new file mode 100644 index 000000000..2c1306d7f --- /dev/null +++ b/demos/accordion/default.html @@ -0,0 +1,42 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Accordion - Default Demo</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.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="#">Phasellus tempus</a></h3>
+ <div>
+ Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est. Morbi vestibulum est non libero. Quisque dolor mauris, sollicitudin eget, vehicula et, tincidunt sed, turpis. Etiam laoreet urna eget tellus. Proin id ligula in ipsum vulputate ullamcorper. Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras lectus neque, vehicula at, imperdiet et, imperdiet vitae, urna. In ut metus varius diam tincidunt feugiat. Sed dictum, nunc et placerat consequat, felis dolor pulvinar neque, non pellentesque ipsum arcu non ante. Vivamus erat mi, faucibus in, tincidunt ac, feugiat at, justo. Curabitur nibh. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Cras lectus</a></h3>
+ <div>
+ Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna. Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Nulla non</a></h3>
+ <div>
+ Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Maecenas faucibus, magna vel condimentum venenatis, magna urna pretium erat, vel suscipit orci dui non sapien. Nullam tincidunt viverra eros. Pellentesque rhoncus. Phasellus ac enim. Integer ut lacus eget elit rutrum varius. Duis mattis urna eu nisi.
+ </div>
+ </div>
+</div>
+
+</body>
+</html>
diff --git a/demos/accordion/index.html b/demos/accordion/index.html index 7b035203b..ae0a20d55 100644 --- a/demos/accordion/index.html +++ b/demos/accordion/index.html @@ -14,6 +14,7 @@ <dl>
<dt>Accordion</dt>
<dd><a href="default.html">Default</a></dd>
+ <dd><a href="mouseover.html">Mouseover</a></dd>
</dl>
</body>
diff --git a/demos/accordion/mouseover.html b/demos/accordion/mouseover.html new file mode 100644 index 000000000..c2cb5d92b --- /dev/null +++ b/demos/accordion/mouseover.html @@ -0,0 +1,43 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Accordion - Mouseover Demo</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.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({
+ event: "mouseover",
+ header: "h3"
+ });
+ })
+ </script>
+</head>
+<body>
+
+<div id="accordion">
+ <div>
+ <h3><a href="#">Nullam blandit</a></h3>
+ <div>
+ Duis pretium. Nullam venenatis. Donec ornare. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed sit amet magna ac lorem elementum euismod. Nulla eu leo. Phasellus purus arcu, semper sed, scelerisque eget, molestie vitae, ante. Nam et purus. Vivamus nec lacus. Mauris pulvinar vehicula orci. Nunc quam metus, iaculis ut, viverra at, tempor vel, arcu. Aliquam dictum massa non diam. Pellentesque vel odio. Integer volutpat placerat velit. Phasellus rhoncus, diam ac fermentum suscipit, velit est eleifend dolor, et cursus massa pede et diam. Cras eu tortor. Quisque vitae ante nec erat venenatis luctus. Donec commodo suscipit nulla. Nunc nec ligula id nulla dictum dictum.
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Aliquam nulla</a></h3>
+ <div>
+ Ut varius. Cras gravida, ante vel porttitor porttitor, sapien magna eleifend dolor, sit amet eleifend justo neque sit amet neque. Donec a nisl sed orci pharetra sodales. Proin ullamcorper, mi sit amet tempor blandit, dolor diam vestibulum nibh, eu sollicitudin lorem risus quis tellus. Ut scelerisque consequat ipsum. Vivamus tellus velit, faucibus eu, venenatis sit amet, varius eu, turpis. In molestie nisi id purus. Pellentesque et dolor. Proin metus nisl, sollicitudin at, aliquet eu, porta eget, est. Donec ut libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;
+ </div>
+ </div>
+ <div>
+ <h3><a href="#">Proin tincidunt</a></h3>
+ <div>
+ Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Ut quam massa, scelerisque sit amet, lacinia sit amet, facilisis ullamcorper, nunc. Nulla vehicula auctor felis. Nullam lobortis erat quis metus. Maecenas molestie, quam lobortis tincidunt ultricies, dolor ante rutrum nisl, in vestibulum nisi odio consectetur enim. Nam tellus felis, ultrices nec, elementum malesuada, congue quis, lacus. Aliquam hendrerit interdum eros. Etiam egestas iaculis urna. Cras venenatis pharetra nunc. Etiam scelerisque mauris eget massa. Nam nec lectus eu purus tempus feugiat. Nunc quam. In facilisis venenatis nisl. Nullam id sapien. Nullam lacinia quam facilisis sem. Nullam facilisis convallis justo. Praesent dictum facilisis purus. Integer cursus ligula at nibh. Mauris in felis id nisl porttitor auctor. Quisque erat.
+ </div>
+ </div>
+</div>
+
+</body>
+</html>
diff --git a/demos/demos.css b/demos/demos.css new file mode 100644 index 000000000..16da76aa8 --- /dev/null +++ b/demos/demos.css @@ -0,0 +1 @@ +body { font-size: 62.5%; }
|