
Untitled
By: a guest on
Jul 31st, 2012 | syntax:
None | size: 0.52 KB | hits: 10 | expires: Never
emile.js stop animation before start another
this.showItem = function(n) {
this.articlesElms[this.currentItem].style.zIndex = '2';
emile(this.articlesElms[this.currentItem].id, 'opacity:0', {duration: 512});
removeClass(this.thumbnailsElms[this.currentItem], this.options.activeClassName);
this.currentItem = n;
this.articlesElms[this.currentItem].style.zIndex = '20';
emile(this.articlesElms[this.currentItem].id, 'opacity:1', {duration: 512});
addClass(this.thumbnailsElms[this.currentItem], this.options.activeClassName);
}