title: Animate div when is clicked but not animate when elements inside that div are clicked
body: <p>I've problem with animation, I want to animate div when I click on him, but don't want to animate when I click on the other stuff inside that div.</p>
  
  <p>Here is me test site:
  <a href="http://kni.prz.rzeszow.pl/~plum/portfolio/index.html" rel="nofollow noreferrer">http://kni.prz.rzeszow.pl/~plum/portfolio/index.html</a></p>
  
  <p>Kontakt div is that what i'm looking for but when I click on textareas div is animated. So that is the problem. Thx &amp; regars.</p>
  
  <p>Code on my site, but that is fragment of animate div id="kontakt":</p>
  
  <pre><code>$(function(){
  $("#kontakt").click(function(){
      //zabezpieczenie przed animowaniem wielu div'ów na raz
              if ($('div').is(':animated')) {
          return;
      }
              //główna animacja odpowiedzialna za powiększanie i zmniejszanie div'a
      if (kontakt == 0) {
          kontakt = 1;
          $(this).fadeTo(500, 0.33).delay(500).fadeTo(500, 1);
          $(this).animate({
              left: '+=205',
              top: '-=205'
          }, 1000, function(){
              $(this).animate({
                  width: 400,
                  height: 400,
                  left: '-=205'
              }, 1000, function(){
                  $.get('kontakt.html', function(data){
                      $('#kontakt').html(data);
                  });
              });
          });
      }
      else 
          if (kontakt == 1) {
              kontakt = 0;
              $(this).html('&lt;a href="#"&gt;Kontakt&lt;/a&gt;');
              $(this).animate({
                  left: '+=205',
                  width: 195,
                  height: 195
              }, 1000, function(){
                  $(this).animate({
                      left: '-=205',
                      top: '+=205'
                  }, 1000);
              });
          }
  });});
  </code></pre>
  
  <p>That doesn't help me:</p>
  
  <pre><code>$(':text, textarea').click(function(e){
  e.stopPropagation();
  alert('to dziala');
  return true;});
  </code></pre>