title: JQuery toggle slide out tab and click outside to close
body: <p>i have a problem with this script:
  <a href="http://jsfiddle.net/bZw83/" rel="nofollow">http://jsfiddle.net/bZw83/</a></p>
  
  <p>It toggles a tab with language selection in or out the screen if a click occurs inside the tab.
  Now i'm stuck, i tried to write a function that toggles the tab out of the screen if the click is outside the tab usin something like</p>
  
  <pre><code>$('html').click(function() {...});
  </code></pre>
  
  <p>but i cannot exclude the area of the tab from firing the event.
  I tried using event.stopPropagation() but i' not able to achieve the goal :-/</p>
  
  <p>Can someone help me figure this out?</p>
  
  <p>Thank you very much</p>