Sorry,<div><br></div><div>By &quot;not showing properly&quot; I mean that the cloud image is not displayed the way it should.<br><div><br><div class="gmail_quote">2011/3/29 Ricardo Bayley <span dir="ltr">&lt;<a href="mailto:ricardo.bayley@gmail.com">ricardo.bayley@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Fellows,<div><br></div><div>For some reason the Framed Popup is not showing properly.</div><div><br></div><div>My code is: </div>
<div><br></div><div><div><span style="white-space:pre-wrap">                        </span>onFeatureSelect:function(f){</div>
<div><span style="white-space:pre-wrap">                        </span>    popup = new OpenLayers.Popup.FramedCloud(</div><div><span style="white-space:pre-wrap">                        </span>    <span style="white-space:pre-wrap">                </span>&quot;resultados&quot;, // id</div>

<div><span style="white-space:pre-wrap">                        </span>            f.geometry.getBounds().getCenterLonLat(), //lonlat</div><div><span style="white-space:pre-wrap">                        </span>            null, //contentSize</div>
<div><span style="white-space:pre-wrap">                        </span>            &quot;&lt;div class=&#39;popup-content&#39; style=&#39;font-size:.8em;width:150px;height:150px;&#39;&gt;&lt;p&gt;&lt;b&gt;Titulo&lt;/b&gt;Valores&lt;/p&gt;&lt;p&gt;hola&lt;/p&gt;&lt;/div&gt;&quot;,</div>

<div><span style="white-space:pre-wrap">                        </span>            null, //anchor</div><div><span style="white-space:pre-wrap">                        </span>            true, //closeBox</div><div><span style="white-space:pre-wrap">                </span>    <span style="white-space:pre-wrap">                        </span>selectedFeaturesCtrl.unselect(f) //closeBoxCallback</div>

<div><span style="white-space:pre-wrap">                        </span>    );</div><div><span style="white-space:pre-wrap">                                </span>f.popup = popup;</div><div><span style="white-space:pre-wrap">                                </span>map.addPopup(popup,true); //{Boolean} If true, closes all other popups first<span style="white-space:pre-wrap">        </span></div>

<div><span style="white-space:pre-wrap">                        </span>},</div><div><span style="white-space:pre-wrap">                        </span>onFeatureUnselect:function(f){</div><div><span style="white-space:pre-wrap">                                </span>map.removePopup(f.popup);</div>

<div><span style="white-space:pre-wrap">                        </span>    f.popup.destroy();</div><div><span style="white-space:pre-wrap">                        </span>    f.popup = null;<span style="white-space:pre-wrap">                                </span></div>
<div><span style="white-space:pre-wrap">                        </span>}</div></div><div><br></div><div>Any ideas ?</div><div><br></div><font color="#888888"><div><br></div><div>Ricardo</div>
</font></blockquote></div><br></div></div>