Guest User

Untitled

a guest
Jul 31st, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. emile.js stop animation before start another
  2. this.showItem = function(n) {
  3. this.articlesElms[this.currentItem].style.zIndex = '2';
  4. emile(this.articlesElms[this.currentItem].id, 'opacity:0', {duration: 512});
  5.  
  6. removeClass(this.thumbnailsElms[this.currentItem], this.options.activeClassName);
  7. this.currentItem = n;
  8.  
  9. this.articlesElms[this.currentItem].style.zIndex = '20';
  10. emile(this.articlesElms[this.currentItem].id, 'opacity:1', {duration: 512});
  11.  
  12. addClass(this.thumbnailsElms[this.currentItem], this.options.activeClassName);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment