Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Awesome! It’s working! ?? Thanks for the very quick answer, if I had knew I would have ask way earlier!

    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!

Viewing 2 replies - 1 through 2 (of 2 total)