Earl Larson Earl Larson - 1 year ago 57
HTML Question

How to create sliding DIV on click?

I am looking to create a slide out DIV, like the one here when you press "Contact". Does anybody know of anything similar to this?

Answer Source

Making use jQuery's slideToggle() method could help you do this.



<div id="contact">
    Contact me!
<a href="#" id="toggle">Contact</a>


    display: none;
    background: grey;
    color: #FFF;
    padding: 10px;


         return false;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download