New Landing How can we help? Themeforest Theme Support Uplift Speed Up Portfolio fadeIn effect

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Uplift
  • #324400
    RunDesign
    Member
    Post count: 21

    Hello,
    We would like to change the speed effect of the fadeIn portfolio thumbnails.
    For example in this page http://uplift.swiftideas.com/portfolio/portfolio-4-column-gallery-alt/ We’d love to change the thumbnail show speed.
    Can you point me out the js code where I can change this behaviour?
    Thanks!

    #324596
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    There is not a way to do this easily as such.

    1) Please disable Theme Options => Performance Options.

    2) Open the file /js/functions.js and search for this line portfolioInstance.animate({opacity: 1}, 800);, then reduce the number value to 0.

    3) Located this JS function:

    		animateItems: function(portfolioInstance) {
    			portfolioInstance.find('.portfolio-item').each(function(i) {
    				jQuery(this).delay(i*200).animate({
    					'opacity' : 1
    				}, 800, 'easeOutExpo', function() {
    					jQuery(this).addClass('item-animated');
    				});
    			});
    		},

    Change it to:

    		animateItems: function(portfolioInstance) {
    			portfolioInstance.find('.portfolio-item').each(function(i) {
    				jQuery(this).delay(i*100).animate({
    					'opacity' : 1
    				}, 0, 'easeOutExpo', function() {
    					jQuery(this).addClass('item-animated');
    				});
    			});
    		},
    #324729
    RunDesign
    Member
    Post count: 21

    Works like a charm, thanks.
    You said to disable perfomance options to avoid to load the min.js right?
    Thanks,
    F.

    #324733
    David Martin – Support
    Moderator
    Post count: 20834

    Yes, that’s correct. Very glad to help you out.

    Thanks.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register