Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1129008

    Hi, we are experiencing some issues on a few of our sites. The Partner/Logo Element seems to take a minute to figure out what it wants to do. On the Siga site (first link in private box) under the heading “Industries we serve” there is a logo element that when you first load the site the box is blank, once a few seconds go by or you click the arrow the logos start to appear. On Tim’s site (second link in private box) the same issue is more prevalent where it takes a longer duration before anything appears – under the heading “Some of Tim’s Clients” on the home page.

    We are wondering if this is some sort of glitch or if maybe there is any css or php that we could use to get it displaying quicker?

    Thanks

    #1129386

    Hey Andrea,

    Thank you for the inquiry.

    It seems to be an issue with an inline script.

    /div><script type='text/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 3) {if(typeof Placeholders != 'undefined'){
                            Placeholders.enable();
                        }} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );</script><script type='text/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [3, 1]) } ); </script>
    

    This is the error:

    SCRIPT5009: SCRIPT5009: 'jQuery' is not defined
    sigacas.com (338,63)
    

    Did you set jQuery to load in the footer? The slider loads properly despite of the error.

    Best regards,
    Ismael

    #1129798

    Hi Ismael,

    On Siga, the jquery in footer box was checked, but on Tim’s site, it was unchecked. We aren’t having an issue with the Siga site now so I believe that was the issue most likely for that case – For Tim’s site though, is there anything else that could be causing this issue?

    #1130246

    Hi,

    Thank you for the update.

    It also loads when the browser is resize. Do you have any plugin that contains a lazy load function? Please try to disable that temporarily. You can also try this script in the functions.php file.

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    		$(window).trigger('av-content-el-height-changed');
    	}, 2000);
    	
    	$(window).on('load', function() {
    		setTimeout(clearInterval(int), 1000);
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.