Please tell me then what to use in order to include a html page in that framed 
cloud.



________________________________
 From: Andreas Hocevar <ahoce...@opengeo.org>
To: alex123 <icid...@yahoo.com> 
Cc: us...@openlayers.org 
Sent: Friday, November 18, 2011 2:32 PM
Subject: Re: [OpenLayers-Users] How to make Auto Sized FramedCloud around an 
autosize iframe ?
 
The only solution is to not use an iframe.

Andreas.

On Nov 18, 2011, at 13:29 , alex123 wrote:

> 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
> us...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to