Created
June 30, 2010 10:32
-
-
Save Crystalh/458499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//fadeIn() not working properly in below example. Next image suddenly appears without easing in. Slowing down the transition to 3sec made no difference. | |
var that = this; | |
if(glow('img.show').length){ | |
glow('img.show').anim(1, { | |
'opacity': 0 | |
}).on('complete', function(){ | |
glow('img.show').removeClass("show").css("display", "none"); | |
glow('#'+that.pages[that.currentPage].assets[itemIndex%that.pageSize].id).addClass("show").fadeIn(3); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment