Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #24400

    Is there a way to turn of the gallery fade for the loading of each image. I find it a bit hard on the eyes.

    http://www.kriesi.at/themedemo/?theme=enfold

    Gallery with preview is the effect Im talking about. When you hover over each image you get the main preview fading from image to white to image. Is it possible to speed up the fade or stop it altogether?

    #123392

    Opps forgot to ask can you have it fade to another colour?

    #123393

    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');

    The gallery thumbs should then load immediately. A fade effect to another color is not possible.

    #123394

    Can I speed up the animation?

    Thanks for the help :-)

    #123395

    Hey!

    Yes replace 110 in the code above with a lower (eg 10 or 1).

    Best regards,

    Peter

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Gallery Fade’ is closed to new replies.