开发者

Programming auto timed 3-image slideshow with loop

开发者 https://www.devze.com 2023-02-16 06:27 出处:网络
I design websites using HTML/CSS and i just recently started using jQuery to add to my designs. i\'ve been stripping code apart from different questions similar to mine but never helpful enough, im no

I design websites using HTML/CSS and i just recently started using jQuery to add to my designs. i've been stripping code apart from different questions similar to mine but never helpful enough, im not just not experienced 开发者_StackOverflow社区enough with the program. I'm basically looking for a way to have 3-images cycle by fading into each other over and over. That's it, it would go like this:

1)website loads/image 1 fadeIn

2)wait 5 seconds

3a)image 1 fadeOut 'fast'

3b)image 2 fadeIn (this is to not show the background between images when they're fading)

4)repeat until last image fadeIn

5)smoothly loop back into image 1

I would totally appreciate the help


Use jquery cycle plugin with fade effect: http://jquery.malsup.com/cycle/browser.html

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号