44
Making use jQuery's slideToggle()
method could help you do this.
HTML:
<div id=contact>
Contact me!
</div>
<a href=# id=toggle>Contact</a>
CSS:
#contact
{
display: none;
background: grey;
color: #FFF;
padding: 10px;
}
JavaScript:
$(function()
{
$(a#toggle).click(function()
{
$(#contact).slideToggle();
return false;
});
});