Introducing Extra Product Options

Mon. - Fri. 9 am - 5 pm Ask a Question
Remember me

Gallery in Tabs

4 years 4 months ago #1

  • Carst's Avatar
  • Carst
  • Posts: 9
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

4 years 4 months ago #2

  • Artem's Avatar
  • Artem
  • Posts: 8824
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,

4 years 4 months ago #3

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

4 years 4 months ago #4

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

problem fixed :)

Regards,
Artem

4 years 4 months ago #5

  • Carst's Avatar
  • Carst
  • Posts: 9
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

4 years 4 months ago #6

  • Artem's Avatar
  • Artem
  • Posts: 8824
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,

4 years 4 months ago #7

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