The closest thing that I could come up with without changing your HTML is: http://codepen.io/BenCodeZen/pen/rePLpP , but this is janky from the user's point of view, and not what I would recommend.
$('#tab1').on('click', function(event) {
$('.tab2').slideUp(400);
$('.tab1').delay(400).slideDown();
});
$('#tab2').on('click', function(event) {
$('.tab1').slideUp(400);
$('.tab2').delay(400).slideDown(400);
});
, div . , . , , , HTML, div , JavaScript jQuery .
, :
<div class='parent'>
<button id="tab1">Tab1</button>
<button id="tab2">Tab2</button>
<div class="content">
<div id="tab1-content" class="tab-content">...</div>
<div id="tab2-content" class="tab-content">...</div>
</div>
</div>
" ", @Asta, , !