title: jQuery show() hide() on mouse over image
body: <p>i have some problems with a bit of javascript. i want to display a div when hovering an image:</p>
  
  <pre><code>        &lt;div class="slideshow"&gt;
              &lt;img src="img/picture1.jpg" id="picture1" /&gt;
              &lt;img src="img/picture2.jpg" id="picture2" /&gt;
          &lt;/div&gt;
  
          &lt;div class="pic1desc"&gt;
                  &lt;h3&gt;Headline&lt;/h3&gt;&lt;br /&gt;
                  Text
          &lt;/div&gt;
  
          &lt;div class="pic2desc"&gt;
                  &lt;h3&gt;Headline&lt;/h3&gt;&lt;br /&gt;
                  Text
          &lt;/div&gt;
  </code></pre>
  
  <p>Here is my javascript-snippet:</p>
  
  <pre><code>$(document).ready(function() {
  $('.pic1desc').hide();
  $('.pic2desc').hide();
  
  //When the Image is hovered upon, show the hidden div using Mouseover
  $('#picture1').mouseover(function() {
  $('.pic1desc').show();
  });
  
  //When the Image is hovered away from, hide the div using Mouseout
  $('#picture1').mouseout(function() {
  $('.pic1desc').hide();
  });
  
  
  });
  </code></pre>
  
  <p>This isn't working at all. Anybody got an idea for that? Thanks in advance!</p>