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
May 4, 2013 at 11:25 am
#12486
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!