I would approach this in a slightly different way.
Instead of including the links in the HTML, generate them with javascript. This way, if someone has JS disabled, then they won't see the useless links.
<div title="Content 1">content #1</div>
<div title="Content 2">content #2</div>
<div title="Content 3">content #3</div>
Then the JS:
var $divs = $('div'); // or whatever selector is appropriate, maybe classes are needed?
var $linkDiv = $("<div></div>").insertBefore($divs);
$divs.each(function(index) {
var $t = $(this);
$("<a></a>", { href: '#', text: this.title })
.click(function(e) {
e.preventDefault();
$t.toggle('slow');
})
.appendTo($linkDiv)
;
this.removeAttribute('title'); // to avoid ugly hover tooltips
if (index > 0) $t.hide();
});