Thanks Mike adding an id did help and I had no idea Chrome could do that, it's a nice feature.
As far as my maxWidth issue goes I'm still not on top of it. I don't think the info window content is 100px wide like I set it (I changed it back from 1000px). So when you type in the search box "foss" click "Dockhawk Search" and then click on a marker (or selection on right) The info window content looks to me to be 217px. I have put in a <div> and it's id is "namestyle". Directly above "namestyle" is another <div> with all the info window content. Google Maps API refernece says about maxWidth: "Maximum width of the info window content, in pixels." I don't know if I'm seeing the info window content wrong. My page and javascript: http://www.dockhawk.com/default_test.html http://www.dockhawk.com/test_javascript.js Thanks everybody. On Sep 12, 12:26 am, Mike Williams <[EMAIL PROTECTED]> wrote: > Wasn't it Lan Mind who wrote: > > >One more question please. I have been having a very hard time finding > >the actual info window element in my html and debuggers like Firebug > >and DebuBar. I'm finding lots of <div>'s that make up the whole map > >area but can't seem to find the infowindow element to see the style. > >Could someone point me to it? > > The internal structure may well change from time to time. This is how > the structure was laid out back in July: > http://econym.googlepages.com/howitworks.htm > Look for "G_MAP_FLOAT_PANE" for the whole of the info window > Look for "Some stuff to display" for the contents. > > I reckon that searching downwards from G_MAP_FLOAT_PANE is unlikely to > produce a method that is stable across versions. Try adding an "id" to > an element inside your infowindow contents and searching upwards from > that. > > If you're just interested in looking at the style externally, rather > than accessing it from your code, you can open your page in the Google > Chrome browser, right-click on the element that your interested in and > select "Inspect Element". > > --http://econym.googlepages.com/index.htm > 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 -~----------~----~----~----~------~----~------~--~---
