SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist
    Join Date
    Jul 2005
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    click event and firefox?

    Hi, I have a google map on my page. In IE it works fine an dteh user can click on it to open up the infoWindow pane, but in firefox nothing happens and it doesnt recognise the marker as being clickable on.
    It looks liek its failing on this bit of code:

    GEvent.addListener(marker, "click", function () {
    marker.openInfoWindowHtml( htmls[x], {maxurl:infoUrl});
    });

    Can anyone see the problem here? thanks.

  2. #2
    SitePoint Evangelist
    Join Date
    Jul 2005
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK, its not the click event thats at fault. The marker is a custom image. If I put it back to a Google default marker then it works fine (in both IE and FF). When I try and change it to be a custom marker, then it works in IE but not in FF!?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •