Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fxStart:function( index, obj, currentObj ){
- if( this.settings.direction == 'opacity' ) {
- $(this.slides).stop().animate({opacity:0}, {
- duration: this.settings.duration,
- easing:this.settings.easing,
- complete:function(){
- $(this).css({'display':'none'});
- }
- });
- $(this.slides).eq(index).stop().animate( {opacity:1}, {
- duration: this.settings.duration,
- easing:this.settings.easing,
- step:function(){
- $(this).css({'display':'block'});
- }
- });
- }else {
- var text = '.lof-main-item-desc';
- $(text).slideUp(200);
- this.wrapper.stop().delay(200).animate( obj, {duration: this.settings.duration, easing:this.settings.easing, complete:function() { $(text).slideDown(200); } });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement