I'm using 3.5.7 On Jan 21, 3:27 pm, Marcelo <[email protected]> wrote: > On Jan 21, 4:19 pm, CG <[email protected]> wrote: > > > ^ I tried your suggestion and it didn't work for me(on your link the > > infowindows don't display either). > > In Firefox? > Works fine for me. (Firefox 3.0.11) > > -- > Marcelo -http://maps.forum.nu > -- > > > That being said, i'm not sure if I > > even put the code in the right place. The problem is that I need the > > twitter javascript to contain + label +. This is a variable that calls > > the usernames from the database. So would that script need to be local > > to the function that declares label? > > > On Jan 21, 2:47 pm, Marcelo <[email protected]> wrote: > > > > On Jan 21, 2:57 pm, CG <[email protected]> wrote: > > > > > I was experimenting and did this and somehow it worked in Firefox. I > > > > don't know how. Is there a way to call the script from within the HTML > > > > of an infowindow? > > > > You can try something similar to > > > this:http://maps.forum.nu/gm_adsense_infoWindow.html > > > (View with Firefox only!) > > > > It loads the ads from adsense into a hidden DIV and then clones that > > > div into the infoWindow. > > > It used to work in different browsers, but last time I tried it only > > > worked in Firefox, and I believe that it must be because of something > > > that changed in AdSense, but since it is only a demo, I am not in a > > > hurry to fix it. > > > > -- > > > Marcelo -http://maps.forum.nu > > > -- > > > > > The twitterCallback2 function is located in the blogger.js which is > > > > linked from twitter.com. There must be a better way to do this. Could > > > > you recommend a workaround for this or do you know any example similar > > > > to this? > > > > > On Jan 21, 1:43 pm, Mike Williams <[email protected]> wrote: > > > > > > It's my understanding that putting a <script> into the HTML of an > > > > > infowindow doesn't call that script. Opening an infowindow is like > > > > > setting the innerHTML of a div. > > > > > > Also, I can't seem to find the code for your twitterCallback2 callback > > > > > function. In order for JSONP calls to work, you must have a callback > > > > > function to receive the data. > > > > > > -- > > > > > Mike Williams > >
-- 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.
