• Resolved Jags2ooo

    (@jags2ooo)


    Hi I’m having an issue @ https://v2.galunoff.com/tabs-2/ and can really use some major help

    Login: [email protected] Password: r0e6ttzjUVec

    It doesn’t matter if I use a plugin or manually write code for UI TABS. in Tabs 2 thumbnails will not display until the browser window is resized. You can decrease or increase your browser window just a bit and the images will instantly display. Can someone please help me?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The offending code is here on that page…

    <div class=”portfolio-container clickable clearfix portfolio-shortcode be-photoswipe-gallery none ” data-pswp-uid=”1″ style=”width: 0px; position: relative; height: 0px;”>

    This is the condition of that div when you reload the page to start with a fresh version. Here is what that block changes to after you resize the browser…

    <div class=”portfolio-container clickable clearfix portfolio-shortcode be-photoswipe-gallery none ” data-pswp-uid=”1″ style=”width: 1112px; position: relative; height: 303px;”>

    Something is being triggered when you resize the browser that is causing that element to have the correct dimensions. It could be as simple as the way your media queries are defined or something to do with javascript or jquery not being triggered correctly until some manual action is taken.

    I wish you a lot of luck with this.

    Thread Starter Jags2ooo

    (@jags2ooo)

    Hi Bob thanks for helping out & posting that information. I’ve managed to solve the issue and for anyone else who runs into a similar problem:

    Solution

    jQuery('.tabs').on( "tabsactivate", function( event, ui ) {
        jQuery(window).trigger('resize');
    } );

    Jags,

    I am pleased that you were able to solve your issue. Thank you for posting the answer as other people could have the same problem.

    Regards,

    Bob

    Hi, I have run into the same problem.

    Where should I add that code to?

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images Won't load unless I Resize the Browser window’ is closed to new replies.