lightbox gallery and tabs

1 reply · opened Jan 21, 2022

UuschiJan 21, 2022

I am using the tabs-bordered feature with 3 tabs. I have two iframes scripts in the first and third tab of the tabs and these work fine. The 2nd tab I am using a lightbox gallery for photo gallery.
The issue I am having is the photos display sometime and sometimes they don't. I have switched the lightbox gallery to be the first active tab and the photos still do not appear all the time. Is there a way to make it work?

SSemicolon WebSTAFFJan 21, 2022

Hello,

Consider using the following JS Code at the bottom of the Page:
[ch_pre]<script>
jQuery( '.tabs' ).on( 'tabsactivate', function( event, ui ) {
setTimeout(function(){
$('.grid-container').filter('.has-init-isotope').isotope('layout');
}, 500);
});
</script>[/ch_pre]

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard