Huge Performance Improvements, CSS Units and More

Joomla Wesbite Builder Gridbox with Performance Improvements and CSS Units
Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Gallery in Tabs

6 years 9 months ago #1

  • Carst's Avatar
  • Carst
  • Posts: 12
Hi
When I'm using Gallery within a tab, the thumbs are loaded in a very bad way. It doesn't really matter if it is within Regularlabs Tabs, or for example Widgetkit. The problem seems te be with tabs that aren't opened at page loading.

Is this possible to fix?

Regards, Carst

6 years 9 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 10783
Hi,

Send us Joomla admin and FTP access, and at the Monday we can check what's going there:
Contact us Form

Department >> Technical Support

Regards,

6 years 9 months ago #3

  • Carst's Avatar
  • Carst
  • Posts: 12
I send you detail by form.

6 years 9 months ago #4

  • Artem's Avatar
  • Artem
  • Posts: 10783
Hello,

problem fixed :)

Regards,
Artem

6 years 9 months ago #5

  • Carst's Avatar
  • Carst
  • Posts: 12
Hello Artem

I see this is working for Regularlabs Tabs now, but not yet for Widgetkit: groenendaaltexel.nl/to-new/vierpersoonshuis
Can you tell me what I can do to change this here as well?

Regards, Carst

6 years 9 months ago #6

  • Artem's Avatar
  • Artem
  • Posts: 10783
We have added this code into ba-gallery.js
/components/com_bagallery/assets/js
//bootstrap
ba_jQuery('a[data-toggle="tab"]').on('shown shown.bs.tab', function(){
            winSize = ba_jQuery(window).width();
            widthContent = getWidthContent();
            setSize();
            resizeIsotope();
        });


//widget-kit
        ba_jQuery('[data-uk-tab]').on('change.uk.tab', function(){
            setTimeout(function(){
                winSize = ba_jQuery(window).width();
                widthContent = getWidthContent();
                setSize();
                resizeIsotope();
            }, 100);            
        });

You can test

Regards,

6 years 9 months ago #7

  • Carst's Avatar
  • Carst
  • Posts: 12
Works great, thanks!
Powered by Kunena Forum