Forums

[resolved] Google Map: mouseout listener not working (2 posts)

  1. hhhsands
    Member
    Posted 1 year ago #

    Hi:

    Trying to implement a map in WP using Google Maps API v3 and have a problem with the listener assigned to mouseout event not working. The code used is a copy & paste from another site working fine. The funcionality is mouseover shows the info window and mouseout hides it. After you roll over any marker, you can't even drag the map

    Fine: http://www.fashiontraveler.com/shanghai-shopping-guide-map.htm
    Problem: http://lojopez.es/fashion/brands-stores-in/burberry/china/shanghai/

    header.php
    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. hhhsands
    Member
    Posted 1 year ago #

    The problem was var infoWin, declared global at start, was redefined at the end of the file, I guess in a copy/paste operation

    Curiously the error isn't triggered in a pure PHP/HTML/JS page but it does in a WordPress based one. I guess due some confict with JS libraries bundled in WP

Topic Closed

This topic has been closed to new replies.

About this Topic