title: jQuery - remove background-color when an element is visible
body: <p>I would like to remove the background-color (only the background-color) of the menu once another element is visible. I wrote this code, but it doesn't work - anybody can help?</p>
  
  <pre><code>$(function() {
  if($("#wrapperHome").is(":visible")) {
      $("#menu a").css({ "background-color", "black" });  
  }
  });
  </code></pre>
  
  <p>The menu has this background style sheet information.</p>
  
  <pre><code>background:url(img/official/menu.png) center center no-repeat #f2f2f7;
  </code></pre>