How do I fade a div in with jQuery?
<p>I have a div defined as the following in my css file:</p>

<pre><code>    #toolbar
    {
        position:relative;
        top: 0;
        height: 50px;
        background-color: #F4A83D;
        width: 100%;
        text-align: center;
        display: hidden;
    }
</code></pre>

<p>Then, in my HTML file I have:</p>

<pre><code> &lt;div id="toolbar"&gt;
        TestApp ToolBar
        &lt;br /&gt;
        You are visiting:
        &lt;%=ViewData["url"] %&gt;
    &lt;/div&gt;
</code></pre>

<p>and finally, I have the following script at the top of my html page that I figured would fadeIn my div when the page loads:</p>

<pre><code>   &lt;script src="../../Scripts/jquery-1.3.2-vsdoc.js" type="text/javascript"&gt;&lt;/script&gt;
   &lt;script type="text/javascript"&gt;
        $(document).ready(function() {
            $("#toolbar").fadeIn("slow");
        });
    &lt;/script&gt;
</code></pre>

<p>What am I doing wrong? It instantly shows up as if it wasn't fading in at all. Am I not accessing my div correctly in the jquery script?</p>

<p><hr /></p>

<p>Based off some of the answers I've changed my div to:</p>

<pre><code>&lt;div id="toolbar" style="visibility: hidden"&gt;
        TestApp ToolBar
        &lt;br /&gt;
        You are visiting:
        &lt;%=ViewData["url"] %&gt;
    &lt;/div&gt;
</code></pre>

<p>With the same script call, and now my div starts out hidden and never shows up.  What else am I doing wrong?  </p>
