Hi Guys,
I need to have curser position on marker mouseover to show a bubble at
that position.
it works in IE but doesnt work in FireFox.

in FF i should use e instead of event but it doesnt accept.


IE version
        GEvent.addListener(marker, "mouseover", function() {
                marker.setImage("/assets/images/pin_OverState.png");

             //These 2 lines work in IE but not in Fire fox
               var x = (event.clientX-105) + 'px'
                var y = (event.clientY-30)+ 'px'
        });


FireFox version

        GEvent.addListener(marker, "mouseover", function(e) {
                marker.setImage("/assets/images/pin_OverState.png");

                alert(e.pageX);

        });
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to