Wasn't it Jelo who wrote: > >Hi, > >How do I correctly display adsense code on a map in the HTML >Infowindow for a marker?
As you've probably realized, otherwise you wouldn't be asking the question, <script> tags don't work inside infowindow HTML. One thing you can do is use an <iframe>, which will activate the <script>. I seem to remember there being different code for using AdSense with <iframe>s, but I can't find a reference now. I suspect that the AdSense system may only place adverts in the iframe that are relevant to the content of that iframe, without consideration tot he content of the parent page. -- 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 -~----------~----~----~----~------~----~------~--~---
