Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Latest commit

 

History

History
26 lines (22 loc) · 647 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 647 Bytes

#jQuery hider

A jQuery plugin that lets you use a header div handling a slideDown, slideUp animation for it's underneath lying content div

Usage:

In your javascript:

$(document).ready(function() {
	$(document).hider();
});

In your HTML:

<div class="wrapper">
    <div class="header">Click me to expand &gt;&gt;</div>
    <div class="content">
        Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
        sed diam nonumy eirmod tempor invidunt ut labore et 
        dolore magna aliquyam erat, sed diam voluptua. At vero 
        eos et accusam et justo duo dolores et ea rebum.
    </div>
</div>