An update Edward - Franky spotted a problem with my code you need to wait for the infowindow domready event to fire. Trouble is I still think in Pascal!
Updated version at http://www.lawless.info/gmaps/bubble_test.html Pete On Sun, Sep 5, 2010 at 9:01 AM, Peter Lawless <[email protected]> wrote: > Hi Edward > > I am no Google expert but the following approach has worked for me. > > Trouble is caused by an overflow = auto on the parent div that was not > there on the same div in V2. > Give your content div an id. Then > document.getElementById('xxxx').parentNode.style.overflow=''; added > immediately after the infowindow.open removes the overflow style from the > parent div. > > Our div has a fixed width and contained a similar amount of content to > yours including a number of links. Have a look at the previous discussion > from 29th August. > > Regards > > Pete > > On Fri, Sep 3, 2010 at 2:47 PM, Edward <[email protected]>wrote: > >> I know that this topic has been discussed elsewhere but I am still >> having no luck getting info windows to resize to avoid overflows. >> >> My current page is here: >> http://southwest.british-naturism.org.uk/placestogo >> which is based on the article for loading markers with mysql and php. >> >> There is a div in the HMTL field that is limiting the size of the >> pictures in the infowindows and which appears to be having some affect >> on the text outside of the image - though I'm not sure why. Either way >> the infowindows still seem to be too short for some of the content. >> >> Be grateful for any help - thanks >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps JavaScript API v3" group. >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<google-maps-js-api-v3%[email protected]> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
