Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('.expandButton').click(function() {
- $('.expandableSection').toggle("slide");
- });
- });
- <h1 class="expandButton"></h1>
- <div class="expandableSection">
- </div>
- <h1 class="expandButton"></h1>
- <div class="expandableSection">
- </div>
- <h1 class="expandButton"></h1>
- <div class="expandableSection">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement