I had been done a menu vertical and tabs changing in the middle of the page
I changed two words on the code source and I set apart two different Div's
one it's the menu:
<div class="arrowgreen">
<ul class="tabNavigation">
<li a href="#first" title="Home">Home</a></li>
<li a href="#secund" title="Home">Home</a></li>
</ul>
</div>
And the other div it's the content.
<div class="pages">
<div id="first">
CONTENT
</div>
<div id="secund">
CONTENT
</div>
</div>
the code works with the div apart
$(function () {
var tabContainers = $('div.pages > div');
$('div.arrowgreen ul.tabNavigation a').click(function () {
tabContainers.hide().filter(this.hash).show();
$('div.arrowgreen ul.tabNavigation a').removeClass('selected');
$(this).addClass('selected');
return false;
}).filter(':first').click();
});
I hope it helps.
Ricardo Lima