You can try an iframe like - for example - in this example http://home.arcor.de/pil/picture-gallery.html
You can also try to define your elements in the DOM tree of your document as mentioned in this thread http://groups.google.com/group/Google-Maps-API/browse_thread/thread/5a0adae564ee3760/8118e87faeaacd11 In both cases I would never recommend to use any further js library like jquery and so on. Complexity only grows, it's harder to debug, there is more code for the client to download, the possibility that the whole thing becomes sluggish is higher, and you hardly know what these libraries are really doing. On Mar 11, 9:36 am, Andy789 <[email protected]> wrote: > Hi All, > > This is the logic that I should implement: > > 1) I create markers with info windows containing links like <a > id="link_N" href="#">link</a> > where N is marker number > > 2) after all the markers created, I need to run a script that would > bind these links with some functions > > 3) to do this I run a jquery function like: > > $('a[id^="link_"]').each(function(i){ > links = $(this).attr('id').split('_'); > assignNyro($j(this).attr('id'), links[1]); > }); > > The problem is that none of the marker info window links exist before > I click on a marker. So, my script does not work, because jquery > cannot find any links with id="link_N" > > Is there any way around this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
