[OpenLayers-Users] 2.5 Firefox and Framecloud autoSize
David Martin
David at itbeyond.com.au
Wed Apr 9 07:37:11 EDT 2008
Hi,
I have been working today on FramedCloud and have noticed that is works perfectly in IE7 and not in FF2. It appears that when text wraps FF does not resize the box to the correct size. In fact even when it does not have test wrap the bottom line of text if FF2 is chopped off.
I have some running examples published at here:
http://www.exploroz.com/Directory/Categories/Campers_Trailers.aspx?kw=
The OL code is ¾ the way down. A copy of the registerPopup script is as follows
function registerPopUp() {
popup = new OpenLayers.Popup.FramedCloud("ppnt_place", PlacePos, new OpenLayers.Size(200,200), '<h4>Camper Trailers WA</h4>Unit 21 No.8 Booth Place, Balcatta, WA, 6021<br /><a class="lba" href="/Directory/Customer/515.asp">View the full business details</a><br /><a class="lba" href="/Places/Directions.aspx?to=Unit+21+No.8+Booth+Place%2c+Balcatta%2c+WA">Get Driving Directions</a>', null, true, onPopupClose);
popup.maxSize=new OpenLayers.Size(200,200);
ppnt.map.addPopup(popup);
}
This site is using nightly build however I have also tested in the latest trunk 6826 and the same issue with FF2 is showing.
Regards
David Martin
Managing Director
I.T. Beyond Pty Ltd
Postal:
PO BOX 967
HILLARYS WA 6923
Ph:
(08) 9403 3737
Mobile:
0417 677 275
Fax:
(08) 9403 3738
Skype:
itbeyond_david
________________________________
Check out our websites: www.ExplorOz.com <http://www.exploroz.com/> and www.itbeyond.com.au <http://www.itbeyond.com.au/>
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080409/3ec3521e/attachment.html
More information about the Users
mailing list