<style>
.hidden {display:none;}
.show {display:block}
</style>
<div id="one">
<div class="title">Title</div>
<div class="hidden">Some content</div>
</div>
<div id="two">
<div class="title">Title</div>
<div class="hidden">Some content</div>
</div>
var hash = window.location.hash.slice(1);
$('#' + hash).show();