templates/hello/display/script/script.js
function() {
         // Let's fade out the splash screen div...
         $('.splash').fadeOut('slow', function() {
            // ...stop the pulsing effect...
            $('.splash .circle').stop().css({
               opacity : 1
            });
            // and fade in the content div.
            $('.content').fadeIn('slow', function() {
               if (people.length == 0)
                  $('#title').fadeIn('slow');
               else
                  greet(people, 0);
            });
         });
      }
function() {
         // Let's fade out the splash screen div...
         $('.splash').fadeOut('slow', function() {
            // ...stop the pulsing effect...
            $('.splash .circle').stop().css({
               opacity : 1
            });
            // and fade in the content div.
            $('.content').fadeIn('slow', function() {
               if (people.length == 0)
                  $('#title').fadeIn('slow');
               else
                  greet(people, 0);
            });
         });
      }
function ( ) { // Let's fade out the splash screen div... $ ( '.splash' ) . fadeOut ( 'slow' , function ( ) { // ...stop the pulsing effect... $ ( '.splash .circle' ) . stop ( ) . css ( { opacity : 1 } ) ; // and fade in the content div. $ ( '.content' ) . fadeIn ( 'slow' , function ( ) { if ( people . length == 0 ) $ ( '#title' ) . fadeIn ( 'slow' ) ; else greet ( people , 0 ) ; } ) ; } ) ; }
onEnd will run whenever the splash screen ends
onEnd will run whenever the splash screen ends