Team:USP-UNESP-Brazil/Templates/Header

From 2012.igem.org

(Difference between revisions)
Line 83: Line 83:
            var infiniteLoop = setInterval(function(){
            var infiniteLoop = setInterval(function(){
                $('.images').eq(currentItem).fadeOut(fadeTime);
                $('.images').eq(currentItem).fadeOut(fadeTime);
-
                $('.titles').eq(currentItem).fadeOut(fadeTime); 
+
                $('.titles').eq(currentItem).fadeOut(fadeTime);
 +
                $('.logocaixa').fadeOut(fadeTime);
                if(currentItem == numberOfItems -1){
                if(currentItem == numberOfItems -1){
                    currentItem = 0;
                    currentItem = 0;
Line 91: Line 92:
                $('.images').eq(currentItem).fadeIn(fadeTime);
                $('.images').eq(currentItem).fadeIn(fadeTime);
                $('.titles').eq(currentItem).fadeIn(fadeTime);
                $('.titles').eq(currentItem).fadeIn(fadeTime);
 +
                $('.logocaixa').fadeIn(fadeTime);
 
 
            }, itemInterval);
            }, itemInterval);

Revision as of 17:12, 24 September 2012