Created
          April 5, 2012 21:27 
        
      - 
      
- 
        Save meeDamian/2314288 to your computer and use it in GitHub Desktop. 
    karuzela marek
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | function karuzeluj(){ | |
| $('.carusel hgroup.selected').animate({opacity:0, left:'-100px'},500,function(){ | |
| $(this).removeClass('selected'); | |
| var $nxt = ($(this).next().length) ? $(this).next() : $(this).siblings(':first'); | |
| $nxt.animate({opacity:1,left:'200px'},700) | |
| .addClass('selected'); | |
| }); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment