Hi,
Its Not online and the funny thing is it doesnt schow any error at
all. But here is the link code and the function it calls:
function OpenNewWindow(bigurl, width, height)
{
var newWindow = window.open("", "pictureViewer","directories=no,
fullscreen=no, menubar=no, status=no, toolbar=no, width=" + width + ",
height=" + height + ", scrollbars=no");
newWindow.document.writeln("<html>");
newWindow.document.writeln("<body style='margin: 0 0 0 0;'>");
newWindow.document.writeln("<a href='javascript:window.close
();'>");
newWindow.document.writeln("<img src='" + bigurl + "' alt='Click
to close' id='bigImage'/>");
newWindow.document.writeln("</a>");
newWindow.document.writeln("</body></html>");
newWindow.document.close();
}
function createMarker(point, name, address,img,desc) {
var marker = new GMarker(point);
var html = name + "</b><br/><br/><a href='#'
onclick='OpenNewWindow('"+img+"', 326, 253); return true;'>See
Picture</a><br/><br/>"+ address+desc;
GEvent.addListener(marker, 'click', function() {
map.setCenter(marker.getPoint(),12);
marker.openInfoWindowHtml(html);
});
return marker;
}
Thanks for any help,
On Mar 27, 11:41 am, Andrew Leach <[email protected]>
wrote:
> On Mar 27, 10:34 am, tga <[email protected]> wrote:
>
>
>
> > My guess is that the marker jusst can't read the OpenNewWindow
> > function declared in the page.
>
> You may well be right. However you have the advantage of seeing the
> page in action, complete with any error messages. Please give us that
> privilege too: post a link as requested by the posting guidelines.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---