Gaak! I've hit upon a splendidly simple approach to the problem. I've already put the markup directly in the HTML since that allows us to have a decent print view. I had been taking and cloning the nodes and putting them into the info window. Now instead of relying on the CSS to get it right when its not attached to anything, I read the height and width directly from the original element before cloning it and put the value on the cloned elements that are inserted. This is easy to do since we're using jQuery.
If someone knows a better way, let me know Adam On Oct 10, 1:53 pm, AdamV <[EMAIL PROTECTED]> wrote: > Ok, for the most part I've done that and I'm still having trouble. > > I've taken the time to put what I'm currently working on somewhere > public. It runs inside our framework so you can see the problem I'm > seeing. As far as I can tell, nothing short of explicitly specifying a > height (which I don't wan't to do) isn't working. > > https://www.samplecu.com/Typography/MapQuest/ > > (I reused an old testing page thus the misleading name... its all > Google Maps). > > Thanks!! > > On Oct 7, 12:13 pm, Mike Williams <[EMAIL PROTECTED]> wrote: > > > The height is calculated before the infowindow is attached to the map. > > Attaching it to the map causes it to inherit styles from the map > > container. > > > You can get round that by applying the styles that you want directly to > > your infowindow content. > > > See:http://econym.org.uk/gmap/css.htm > > > --http://econym.org.uk/gmap > > The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
