The best place to find jQuery plugins !

Welcome on myjqueryplugins,

the best jquery plugins library !

Add your jQuery plugin.

Connect it with GitHub and create your plugin Homepage.

Make known your plugin to the community or link it to your own website !

Woco Accordion : Simple, Easy to use, light-weight and responsive jQuery accordion plug in

Plugin rate :

A simple, Easy to use, light-weight and responsive jQuery accordion plug in.

Implementation: 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<html>
     <head>
                <script src="jquery-1.11.3.min.js"></script>
                <script src="woco.accordion.min.js"></script>
                <link href="woco-accordion.css" rel="stylesheet">
     </head>
     <body>
                <div class="accordion">
                        <h1>Section 1</h1>
                        <div>
                                Content 1<br>Content 1<br>Content 1<br>Content 1<br>
                        </div>
                        <h1>Section 2</h1>
                        <div>
                                Content 2<br>Content 2<br>Content 2<br>Content 2<br>
                        </div>
                        <h1>Section 3</h1>
                        <div>
                                Content 3<br>Content 3<br>Content 3<br>Content 3<br>
                        </div>
                </div>
                <script>
                        $(".accordion").accordion();
                </script>
     </body>
</html>

Options: 
multiEpand
Boolean
Default : false - whether expanding mulitple section is allowed or not
slideSpeed
Integer
Default : 500 - slide animation speed
dropDownIcon
String
Default : "&#9660" - drop down arrow icon
Screenshots
  • Section 1 expanded

  • Section 2 expanded

Add new comment

To prevent automated spam submissions leave this field empty.

Plain text

  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <br> <br />

Informations

Current version
1.0
Browsers compatibility
Google ChromeIE 9Mozilla FirefoxOperaSafari
Fork it on github Comments [0]