I want to create a page where a table would be faded in as it loads (from transparent to opaque). I've tried using:

```
$(document).ready(function(){
    $('#table1').hide();
    $('#table1').fadeIn(1000);
  });

```

And it kind of works, but the table shows up, quickly disappears and then smoothly fades in. Is there a way to achieve the fadein without the table appearing beforehand?