Reply To: Add map shortcode to a template's tabbed content … not working

Home Forums MapPress Support Add map shortcode to a template's tabbed content … not working Reply To: Add map shortcode to a template's tabbed content … not working

#12486
LakesMarketing
Participant

    Hi Chris,

    Thanks that is really useful.

    Please can I double check if I wanted to insert redraw command into the click function would it simply look like this:

     

    // Tab

    var gdl_tab = jQuery(‘div.gdl-tab’);

    gdl_tab.find(‘.gdl-tab-title li a’).click(function(e){

    mapp0.resize();

    if( jQuery(this).hasClass(‘active’) ) return;

     

    Thanks for your help!