showing results for - "jqueryui according style collapse"
Sofia
20 Jul 2016
1<!doctype html>
2<html lang="en">
3<head>
4  <meta charset="utf-8">
5  <meta name="viewport" content="width=device-width, initial-scale=1">
6  <title>jQuery UI Accordion - Default functionality</title>
7  <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
10  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
11  <script>
12  $( function() {
13    $( "#accordion" ).accordion();
14  } );
15  </script>
16</head>
17<body>
18 
19<div id="accordion">
20  <h3>Section 1</h3>
21  <div>
22    <p>
23    Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer
24    ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit
25    amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut
26    odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
27    </p>
28  </div>
29  <h3>Section 2</h3>
30  <div>
31    <p>
32    Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet
33    purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor
34    velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In
35    suscipit faucibus urna.
36    </p>
37  </div>
38  <h3>Section 3</h3>
39  <div>
40    <p>
41    Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis.
42    Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero
43    ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis
44    lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.
45    </p>
46    <ul>
47      <li>List item one</li>
48      <li>List item two</li>
49      <li>List item three</li>
50    </ul>
51  </div>
52  <h3>Section 4</h3>
53  <div>
54    <p>
55    Cras dictum. Pellentesque habitant morbi tristique senectus et netus
56    et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in
57    faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia
58    mauris vel est.
59    </p>
60    <p>
61    Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus.
62    Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
63    inceptos himenaeos.
64    </p>
65  </div>
66</div>
67 
68 
69</body>
70</html>
71