|
|
(12 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | <html lang="en">
| + | |
− | <head>
| + | |
− | <meta charset="utf-8">
| + | |
− | <title>jQuery UI Accordion - Default functionality</title>
| + | |
− | <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
| + | |
− | <script src="//code.jquery.com/jquery-1.10.2.js"></script>
| + | |
− | <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
| + | |
− | <link rel="stylesheet" href="/resources/demos/style.css">
| + | |
− | <script>
| + | |
− | $(function() {
| + | |
− | $( "#accordion" ).accordion();
| + | |
− | });
| + | |
− | </script>
| + | |
− | </head>
| + | |
− | <body>
| + | |
− |
| + | |
− | <div id="accordion">
| + | |
− | <h3>First header</h3>
| + | |
− | <div>First content panel</div>
| + | |
− | <h3>Second header</h3>
| + | |
− | <div>Second content panel</div>
| + | |
− | </div>
| + | |
− | </body>
| + | |
− | </html>
| + | |