Where to put the .fadeIn(); in this tab-script?

Where to put the .fadeIn(); in this tab-script?

Hi there,

Currently I am using this very simple tab-script. Took it from:  http://jqueryfordesigners.com/jquery-tabs/

All works fine, but I want to use the  .fadeIn(); option, so that (when I switch tabs) this goes nice and smooth. But where to put this  .fadeIn();?

The code:
  1. <script type="text/javascript">
  2. <!-- Tabs -->
  3. $(function () {
  4.     var tabContainers = $('div.tabs > div');
  5.     tabContainers.hide().filter(':first').show();
  6.                         
  7.     $('div.tabs ul.tabNavigation a').click(function () {
  8.         tabContainers.hide();
  9.         tabContainers.filter(this.hash).show();
  10.         $('div.tabs ul.tabNavigation a').removeClass('selected');
  11.         $(this).addClass('selected');
  12.         return false;
  13.     }).filter(':first').click();
  14. });
  15. </script>
Thanks!

Kind regards

ps: if anyone knows how to reduce the gabs between the tabs, please let me know too :)