annotate jquery-ui/development-bundle/demos/accordion/default.html @ 0:b2e4605f20b2

beta version
author dwinter
date Thu, 30 Jun 2011 09:07:49 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1 <!DOCTYPE html>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
2 <html lang="en">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
3 <head>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
4 <meta charset="utf-8">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
5 <title>jQuery UI Accordion - Default functionality</title>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
7 <script src="../../jquery-1.5.1.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
8 <script src="../../ui/jquery.ui.core.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
9 <script src="../../ui/jquery.ui.widget.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
10 <script src="../../ui/jquery.ui.accordion.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
11 <link rel="stylesheet" href="../demos.css">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
12 <script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
13 $(function() {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
14 $( "#accordion" ).accordion();
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
15 });
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
16 </script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
17 </head>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
18 <body>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
19
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
20 <div class="demo">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
21
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
22 <div id="accordion">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
23 <h3><a href="#">Section 1</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
24 <div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
25 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
26 Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
27 ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
28 amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
29 odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
30 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
31 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
32 <h3><a href="#">Section 2</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
33 <div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
34 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
35 Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
36 purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
37 velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
38 suscipit faucibus urna.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
39 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
40 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
41 <h3><a href="#">Section 3</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
42 <div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
43 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
44 Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
45 Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
46 ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
47 lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
48 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
49 <ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
50 <li>List item one</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
51 <li>List item two</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
52 <li>List item three</li>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
53 </ul>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
54 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
55 <h3><a href="#">Section 4</a></h3>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
56 <div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
57 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
58 Cras dictum. Pellentesque habitant morbi tristique senectus et netus
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
59 et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
60 faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
61 mauris vel est.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
62 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
63 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
64 Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
65 Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
66 inceptos himenaeos.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
67 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
68 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
69 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
70
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
71 </div><!-- End demo -->
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
72
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
73 <div class="demo-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
74 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
75 Click headers to expand/collapse content that is broken into logical sections, much like tabs.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
76 Optionally, toggle sections open/closed on mouseover.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
77 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
78 <p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
79 The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
80 usable without JavaScript.
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
81 </p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
82 </div><!-- End demo-description -->
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
83
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
84 </body>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
85 </html>