Hey guys I’ve got the same kind of issue with the 20/20 plugin inside tabs.
I’m not really sure about the js code to put on my page
<div class="tab-content">
<div id="menu0" class="tab-pane fade in active">
content menu0
</div>
<div id="menuBefAft" class="tab-pane fade">
[twentytwenty]
<img src ///////>
<img src ///////>
[/twentytwenty]
</div>
</div>
I’m using the “toolset framework” to build my site and I guess I know where to put the code, but as nothing change, I’m wondering if I have to adapt this code for my website.
jQuery(document).ready(function(){
var refreshTwentytwentyInstance = function(){
jQuery(window).trigger("resize.twentytwenty");
};
jQuery("div.tab1, div.tab2, div.tab3").on("click", function(){
setTimeout(refreshTwentytwentyInstance, 100);
});
});
Thanks!