This is my iframe:
*popupContentHTML = '<iframe src="/static/st.html" width="100%"
height="300"/> ';*
This is my frame
*AutoSizeFramedCloud = OpenLayers.Class(OpenLayers.Popup.FramedCloud, {
            'autoSize': true
        });*

The problem is that it just doesn't work. The framedcloud doesn't grow to
fit iframe's content. It only works if i add a specific width to iframe in
px, like: *width="300"*.
Does anyone know how to achieve my desired result?

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/How-to-make-Auto-Sized-FramedCloud-around-an-autosize-iframe-tp7008062p7008062.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to