SlideToggle
Simple click and slide toggle options
HTML
<a class="ahref" data-div=".box1"></a>
<a class="ahref" data-div=".box2"></a>
<a class="ahref" data-div=".box3"></a>
<div class="box1">1</div>
<div class="box2">2</div>
<div class="box3">3</div>
CSS
.ahref { background: url(http://cdn1.iconfinder.com/data/icons/diagona/icon/16/130.png) no-repeat left top; width: 16px; height: 16px; display:inline-block; cursor:pointer; }
.hidden { background: url(http://cdn1.iconfinder.com/data/icons/diagona/icon/16/129.png) no-repeat left top; }
JavaScript
$('.ahref').click(function() {
$(this).toggleClass('hidden'); //change the status of the link
$($(this).data('div')).slideToggle(500); //slide the DIV
});