Advertisement
Guest User

Untitled

a guest
Sep 11th, 2010
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fxStart:function( index, obj, currentObj ){
  2.                 if( this.settings.direction == 'opacity' ) {
  3.                     $(this.slides).stop().animate({opacity:0}, {
  4.                     duration: this.settings.duration,
  5.                     easing:this.settings.easing,
  6.                     complete:function(){
  7.             $(this).css({'display':'none'});
  8.             }
  9.           });
  10.                     $(this.slides).eq(index).stop().animate( {opacity:1}, {
  11.                     duration: this.settings.duration,
  12.                     easing:this.settings.easing,
  13.                     step:function(){
  14.             $(this).css({'display':'block'});
  15.             }
  16.           });
  17.                 }else {
  18.                 var text = '.lof-main-item-desc';
  19.           $(text).slideUp(200);
  20.                     this.wrapper.stop().delay(200).animate( obj, {duration: this.settings.duration, easing:this.settings.easing, complete:function() { $(text).slideDown(200); } });
  21.                 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement