JQuery tabs content

I have set up jq tabs and they were working okay. Now, for some reason, the display panes not related to the selected tab, but previously selected, are showing along with the current one.

<code>
$(function() {
$(‘#container ul’).tabs();
$(function(e) { $(‘.ui-tabs-hide’).$(this).css(“display”,“none”);
});
});
</code>

I am using old jq 1.2.3. Can anyone suggest a solution that won’t necessitate a big rethink ?

Tom