Problems with show hide jquery
<p>I am trying to get show hide to work on multiple objects but I am unable to get it to work.  Any help would be nice an much appreciated... I am lost on how to do this.  If I only do one show hide it works fine but more than one it does not work properly. </p>

<pre><code>    &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0        Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
&lt;title&gt;Show Hide Sample&lt;/title&gt;
&lt;script src="js/jquery.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;
  $(document).ready(function(){
  $('#content1').hide();
  $('a').click(function(){
 $('#content1').show('slow');

});

 $('a#close').click(function(){
        $('#content1').hide('slow');
})

});
&lt;/script&gt;

    &lt;style&gt;
body{font-size:12px; font-family:"Trebuchet MS"; background: #CCF}
#content1{
border:1px solid #DDDDDD;
padding:10px;
margin-top:5px;
width:300px;
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;a href="#" id="click"&gt;Test 1&lt;/a&gt;
&lt;div class="box"&gt;
&lt;div id="content1"&gt;
&lt;h1 align="center"&gt;Hide 1&lt;/h1&gt;

&lt;P&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam pulvinar, enim ac hendrerit mattis, lorem mauris vestibulum tellus, nec porttitor diam nunc tempor dui. Aenean orci. Sed tempor diam eget tortor. Maecenas quis lorem. Nullam semper. Fusce adipiscing tellus non enim volutpat malesuada. Cras urna. Vivamus massa metus, tempus et, fermentum et, aliquet accumsan, lectus. Maecenas iaculis elit eget ipsum cursus lacinia. Mauris pulvinar.&lt;/p&gt;




&lt;p&gt;&lt;a href="#" id="close"&gt;Close&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;a href="#" id="click"&gt;Test 2&lt;/a&gt;
&lt;div class="box"&gt;
&lt;div id="content1"&gt;
&lt;h1 align="center"&gt;Hide 2&lt;/h1&gt;
   &lt;p&gt; Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam pulvinar, enim ac hendrerit mattis, lorem mauris vestibulum tellus, nec porttitor diam nunc tempor dui. Aenean orci. Sed tempor diam eget tortor. Maecenas quis lorem. Nullam semper. Fusce adipiscing tellus non enim volutpat malesuada. Cras urna. Vivamus massa metus, tempus et, fermentum et, aliquet accumsan, lectus. Maecenas iaculis elit eget ipsum cursus lacinia. Mauris pulvinar.&lt;/p&gt;

&lt;p&gt;&lt;a href="#" id="close"&gt;Close&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;/body&gt;
&lt;/html&gt;
</code></pre>
