Home › Forums › MapPress Support › Map appearing partially in a toggle › Reply To: Map appearing partially in a toggle
July 17, 2013 at 5:18 am
#13020
Hi,
The workaround built into the plugin is for tabs. For the slider/toggle there’s no event for the plugin to watch for, so you’re doing it the right way.
For the issue with calling toggle twice, it may help to use the ‘complete’ argument for toggle(), to set the map resize *after* the animation finishes:
$(“#page-slider h3.symple-toggle-trigger”).click(function(){
$(this).toggleClass(“active”).next().slideToggle(0, 1, mapp0.resize);
});