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