Make the Email Address Selectable

Mapply allows you to customize the look and feel of your map. Here, you can allow your customers to click the email address for your store locations.

 Caution

At this time, Mapply is unavailable for new installations. If you are currently using Mapply, you will be able to continue using the app as your account will now be grandfathered.

 


 

Customizing The Email Address

  1. Visit the Mapply Account Page. Log in if necessary.

    log in

  2. Select Display Settings.

    select display settings

  3. Copy and paste this code into the Page Header HTML section of the Display Settings:

    <script>
     jQuery(document).ready(function(){
     var old_focus_and_popup = focus_and_popup;
    
     focus_and_popup = function (id){
     return_val = old_focus_and_popup (id);
    setTimeout(function (){
    
     jQuery(".gm_popup .email").click(function(){
     var text = jQuery(this).text();
     document.location = "mailto:" + text.trim();
     });
    
     jQuery(".gm_popup .email").css('text-decoration','underline').css('color','#2aa8e0');
    }, 200);
     return return_val ;
     }
    });
    
    </script>

    copy and paste this code

  4. Select Save.

    select save

Was this article helpful?
0 out of 0 found this helpful