[OpenLayers-Users] How to make Auto Sized FramedCloud around an
autosize iframe ?
alex123
icidrop at yahoo.com
Fri Nov 18 07:29:29 EST 2011
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.
More information about the Users
mailing list