you can use it in your tabs or other with code.
where click on your tab run twentytwenty function on .twentytwenty-container element.
add this code in one of your javascript files:
$(document).on('click', '.your-tab-class', function () {
jQuery(".twentytwenty-container[data-orientation!='vertical']").twentytwenty({default_offset_pct: 0.5})
});
-
This reply was modified 5 years, 10 months ago by omidadhmyani.