jQuery Slideshow Image Transition

后端 未结 6 752
执笔经年
执笔经年 2021-01-19 06:06

I\'m having an issue with my jQuery slideshow and I can\'t seem to figure it out. During the transition of images the slideshow will flash white instead of nicely fading int

6条回答
  •  终归单人心
    2021-01-19 07:07

    You can try to use the delay function which works (only) with jQuery animations.

    $('#slideshow img:first').fadeOut(1000).next().delay(1000).fadeIn(1000).end().appendTo('#slideshow');
    

    But the best way if you use the provided callbacks as stated by other commenters here.

提交回复
热议问题