/, , :
. jsFiddle.
a div. href - div.
<div id="container">
<ul>
<li>Category 01 <a href="#cat01">[+]</a></li>
<li>Category 02 <a href="#cat02">[+]</a></li>
<li>Category 03 <a href="#cat03">[+]</a></li>
</ul>
<br />
<div id="categories">
<div id="cat01">content 01</div>
<div id="cat02">content 02</div>
<div id="cat03">content 03</div>
</div>
</div>
toggle, , , 1, , 0. , . , [-] [+]. , . , , a [+] [-].
$("#container ul > li > a").toggle(function (e) {
var $this = $(this);
$this.text("[-]");
$($this.attr("href")).css("display", "block");
e.preventDefault();
},
function (e) {
var $this = $(this);
$(this).text("[+]");
$($this.attr("href")).css("display", null);
e.preventDefault();
});