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://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?
Opps forgot to ask can you have it fade to another colour?
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.
Can I speed up the animation?
Thanks for the help :-)
Hey!
Yes replace 110 in the code above with a lower (eg 10 or 1).
Best regards,
Peter