• Resolved mrppp

    (@mrppp)


    I,m finding that google search results on some listings show as

    Loading Map…. Reading Frouds Lane – Reading Details. 51.3953621 -1.1517840000000206. Date/Time Date(s) – 06/07/2013 11:30 am …

    “Reading Frouds Lane – Reading Details”
    being the buble in the map, ignoring any content on event or description tags?
    any way to turn the balloon off?

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 11 replies - 1 through 11 (of 11 total)
  • This snippet should stop the info window from loading. You’ll need to add it to either your header or footer file.

    jQuery(document).ready(function() {
      jQuery(document).bind('em_maps_location_hook', function( e, map, infowindow, marker ){
        infowindow.close();;
      });
    )};
    Thread Starter mrppp

    (@mrppp)

    Thanks, does that need enclosing with anything?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    the above solution will closed the balloon or infowindow, can you try then lets us know if it works?

    thanks

    Thread Starter mrppp

    (@mrppp)

    I tried but the full text of that code shows on the actual page, tried in header and footer.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    maybe you didn’t wrapped inside <script>.....</script>

    https://www.w3schools.com/js/

    Thread Starter mrppp

    (@mrppp)

    OK tried both header/footer but the balloon remains. no big deal though

    Plugin Support angelo_nwl

    (@angelo_nwl)

    try this instead

    <?php wp_head(); ?> <!--remove if you already have this-->
    <script type="text/javascript">
    jQuery(document).ready(function($){
      jQuery(document).bind('em_maps_location_hook', function( e, map, infowindow, marker ){
       setTimeout(function(){ infowindow.close(); }, 1000);
      });
    });
    </script>
    Thread Starter mrppp

    (@mrppp)

    Hi, thanks, yes now it loads for about 1 second then goes
    Actually first code given does the same I just formatted it incorrectly

    If you change the 1000 in the code to 100 or even 0 that should stop the info box from flashing up.

    Thread Starter mrppp

    (@mrppp)

    works fine now thanks

    Thread Starter mrppp

    (@mrppp)

    I have tried this script in another installation but the balloon still shows, ok in other installation, any ideas why?
    If I view page source I see

    <!--remove if you already have this-->
    <script type="text/javascript">
    jQuery(document).ready(function($){
      jQuery(document).bind('em_maps_location_hook', function( e, map, infowindow, marker ){
       setTimeout(function(){ infowindow.close(); }, 0);
      });
    });
    </script>
    </body>
    </html>
    
    if I set to 1000 it stays for seconds but any other setting i.e 100 or 0 leaves balloon showing, but ok on other site?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Google indexing’ is closed to new replies.