title: click marker google map show a div outside the map
body: <p>i need show a div when clicking the google marker, this is the code html:</p>
  
  <pre><code>&lt;div id="map-canvas"&gt;&lt;/div&gt;
  &lt;div id="info-container"&gt;
      &lt;h1&gt;Hola&lt;/h1&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>and the map js click code:</p>
  
  <pre><code>google.maps.event.addListener(marker, 'click', (function(marker, i) {
    return function() {
         $('#info-container').css('display', 'block');
      })(marker, i));
  }
  </code></pre>
  
  <p>but the marker click not add the style</p>