For the scrollbar problem I'll give it a try, but for the rest I don't think it depends on my html, because it happens also when I have just text (for instance an <h2> with the title and a <p> for the description)...
Reading around I found this thread but it dates back to 2008 ( http://osgeo-org.1803224.n2.nabble.com/FramedCloud-and-autoSize-td1829440.html)... it looks like it's the same bug and I feel it's still open? It seems there's a function that calculates the size of the popup without applying the style before, so it ends up having a big popup and a small text.. Maybe I'll try to post on the dev list as well. Thanks andrea On Thu, Oct 14, 2010 at 9:48 AM, Imran Rajjad <[email protected]> wrote: > I think this is more related to the HTML content your are putting in > the frame cloud! > > Normaly there is a Div , for your scrollbar problem, I think you need > to set the overflow parameter of your div to overflow because the > scrollbars appear when it is set to auto, I think you should give it a > shot. > > regards, > Imran > > On Thu, Oct 14, 2010 at 12:16 PM, Andrea Pogliaghi > <[email protected]> wrote: > > Hello everbody, > > > > I have an issue with openlayers framedcloud, I searched around but found > no > > solution yet, if this subject has been discussed and solved before, > please > > point me to the relevant thread. > > > > Basically I have a FramedCloud popup which is populated through an ajax > > call. The content of the popup is made of text and possibly an image. > > The errors I'm getting are: > > > > These happen both on FF and IE > > 1) The same popup (with the same content) sometimes has scrolling bars > and > > sometimes not. I would like to have them only if the content is "big", > not > > if it's only a row or two. But sometimes (I guess that's according to the > > position in the screen of the element the popup is attached to), the same > > popup has scrolling bars and others it doesn't. > > 2) If I reduce the text size of the popup content, the framedcloud it's > too > > "long".... it doesn't get resized on the Y dimension. > > > > This happens mostly with IE > > 3) Even without reducing text size, with explorer the popup isn't resized > > properly on the Y dimension, it remains too "long". > > > > Is there a way to solve these issues or maybe some workaround I could > use? > > > > Has anybody experienced the same before? > > > > Thanks, > > > > Andrea > > > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.osgeo.org/mailman/listinfo/openlayers-users > > > > > > > > -- > I.R >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
