Weird jQuery and HTML implementation
<p>Okay, so what I'm trying to do is have a user click on a link and have a box slide down ontop. <br>
I have the main things done, but the box seems to be a bit weird. If you click on the specified box (in this case, "About the Blogger"), the box slides down. Then if you click anywhere in the area below the navigation, the box also slides down. How do I stop this?
<br>
Relevant coding:<br>
<br>
<p>
CSS:<br></p>

<pre><code>.panel_button {
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
list-style: none;

}

.panel_button a {
-webkit-transition: all 1s ease; 
-moz-transition: all 1s ease; 
transition: all 1s ease;
background: #F5A564;
color: #F5CBAF;
display: block;
position: relative;
top: -160px;
font-size: 255%;
width: 50%;
height: 160px;
text-decoration: none;
}

.panel_button a:hover {
background: #808080;
color: #FFFFFF;
}

#toppanel {
margin-top: 0px;
margin-left: 48%;
position: absolute;
width: 48%;
left: 0px;
z-index: 25;
text-align: center;
}

#panel {
width: 100%;
position: relative;
top: 1px;
height: 0px;
margin-left: auto;
margin-right: auto;
z-index: 10;
overflow: hidden;
text-align: left;
}

#panel_contents {
background: #fff;
height: 700px;
width: 100%;
position: absolute;
z-index: -1;
}
</code></pre>

<p>Header.php<br></p>

<pre><code>&lt;div id="container"&gt;

&lt;ul id="navigation1"&gt;
&lt;li&gt;&lt;a href="http://www.niu-niu.org/"&gt;NIU&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ul id="navigation2"&gt;
&lt;li&gt;&lt;a href="http://www.spidur.tumblr.com"&gt;SKETCH/&lt;br&gt;PHOTO&lt;br&gt;BLOG&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="panel_button" style="display: visible;"&gt;&lt;a href="#panel"&gt;ABOUT&lt;br&gt;THE&lt;br&gt;BLOGGER&lt;/a&gt;&lt;/div&gt; 

&lt;ul id="navigation4"&gt;
&lt;li&gt;&lt;a href="http://www.niu-niu.org/about"&gt;LINKS&lt;br&gt;OUT&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
 &lt;/div&gt;

&lt;div id="toppanel"&gt; 
 &lt;div id="panel"&gt; 

  &lt;div id="panel_contents"&gt;and jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjhere &lt;/div&gt; 
  &lt;div class="panel_button1" id="hide_button" style="display: visible;"&gt;&lt;a href="#"&gt;Hide&lt;/a&gt; &lt;/div&gt; 
&lt;/div&gt;&lt;/div&gt;
</code></pre>

<p><br>
I honestly doubt it's the jQuery issue, but I'm not familiar with jQuery, so why not:
<br></p>

<pre><code>$(document).ready(function() {
    $("div.panel_button").click(function(){
        $("div#panel").animate({
            height: "430px"
        })
        .animate({
            height: "400px"
        }, "fast");


    }); 

   $("div#hide_button").click(function(){
        $("div#panel").animate({
            height: "0px"
        }, "fast");


   });  


});
</code></pre>

<p>If you want to look at it, my website is at <a href="http://www.niu-niu.org/" rel="nofollow">Niu-Niu.org</a>. </p>

<p>
Thank you for looking!</p>
