This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 7th, 2012  |  syntax: JavaScript  |  size: 0.50 KB  |  views: 54  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  $(document).ready(function(){
  2.     var count=0;
  3.     var animation=['blind', 'drop','fade'];
  4.     var image=['IMAGES/css3-logo.png','IMAGES/jquery-logo.png','IMAGES/html5-logo.png'];        
  5.                    
  6.     while(count!=3){
  7.         var startBanner=animate(animation[count]);      
  8.         startBanner();        
  9.                    
  10.         var change=setTimeout(function(){changeBanner(image[count])}, 2000);
  11.         change();
  12.                    
  13.         if(count==2){
  14.         count=0;
  15.         }
  16.     }
  17.  });
clone this paste RAW Paste Data