<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Please tell me then what to use in order to include a html page in that framed cloud.<br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Andreas Hocevar <ahocevar@opengeo.org><br> <b><span style="font-weight: bold;">To:</span></b> alex123 <icidrop@yahoo.com> <br><b><span style="font-weight: bold;">Cc:</span></b> users@openlayers.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, November 18, 2011 2:32 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenLayers-Users] How to make Auto Sized FramedCloud around an autosize iframe
 ?<br> </font> <br>
The only solution is to not use an iframe.<br><br>Andreas.<br><br>On Nov 18, 2011, at 13:29 , alex123 wrote:<br><br>> This is my iframe:<br>> *popupContentHTML = '<iframe src="/static/st.html" width="100%"<br>> height="300"/> ';*<br>> This is my frame<br>> *AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, {<br>>            'autoSize': true<br>>        });*<br>> <br>> The problem is that it just doesn't work. The framedcloud doesn't grow to<br>> fit iframe's content. It only works if i add a specific width to iframe in<br>> px, like: *width="300"*.<br>> Does anyone know how to achieve my desired result?<br>> <br>> --<br>> View this message in context: http://osgeo-org.1803224.n2.nabble.com/How-to-make-Auto-Sized-FramedCloud-around-an-autosize-iframe-tp7008062p7008062.html<br>> Sent from the OpenLayers Users mailing list archive at <a
 target="_blank" href="http://Nabble.com">Nabble.com</a>.<br>> _______________________________________________<br>> Users mailing list<br>> <a ymailto="mailto:Users@lists.osgeo.org" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>> http://lists.osgeo.org/mailman/listinfo/openlayers-users<br><br><br><br>-- <br>Andreas Hocevar<br>OpenGeo - http://opengeo.org/<br>Expert service straight from the developers.<br><br><br><br> </div> </div>  </div></body></html>