If you decide to create your own tab script, there are numerous ways to address the issue using jQuery. Here is a sample approach:
(http://jsfiddle.net/ruqmU/5/)
CSS
.tab {
float:left;
display:inline-block;
border:1px solid #000;
padding:.5em;
}
#contentArea {
border: 1px solid #000;
padding:.5em;
clear: both;
}
.block {display:block;}
.hide {display:none;}
.selectedTab {background-color:red;}
Javascript (jQuery)
$(document).ready(function() {
// default first tab to visible
$('.content').addClass('hide');
$('.content').first().removeClass('hide').addClass('block');
$('.tab').first().addClass('selectedTab');
// on click, hide all content except content matching the clicked tab
$('.tab').click(function() {
if(!$(this).hasClass('selectedTab')) {
var tabContentType = $(this).children('p').attr('class');
$('.tab').removeClass('selectedTab');
$(this).addClass('selectedTab');
$('div.content').addClass('hide');
$( '.' + tabContentType ).parent().removeClass('hide').addClass('block');
}
});
});
HTML
<div id="tabArea">
<div class="tab">
<p class="details">details</p>
</div>
<div class="tab">
<p class="description">description</p>
</div>
</div>
<div id="contentArea">
<div class="content">
<p class="details">details go here</p>
</div>
<div class="content">
<p class="description">description goes here</p>
</div>
</div>