Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #25282

    The image gallery I have set up is taking a lot of time loading all of the thumbnails. Is there a way to disable this (fade) animation?

    #126380

    Open up enfold/js/shortcode.js and search for this code around line 205:


    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    });

    change it to:


    //trigger displaying of thumbnails
    gallery.on('avia_start_animation', function()
    {
    images.each(function(i)
    {
    var image = $(this);
    setTimeout(function(){ image.addClass('avia_start_animation') }, (i * 110));
    });
    }).trigger('avia_start_animation');

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Remove Image Gallery Animation’ is closed to new replies.