简体   繁体   English

向滑块添加淡入/过渡

[英]Adding fade/transition to slider

I'm in the process of using only javascript for a slideshow.. and here's what I currently have , my problem is, how do I make the image transition smoothly or like a fade effect? 我正在只使用javascript进行幻灯片播放的过程.. 这是我目前拥有的 ,我的问题是,如何使图像平滑过渡或像淡入淡出效果? also is this the shortest possible javascript code for an automatic slideshow with caption? 这也是带字幕的自动幻灯片的最短的javascript代码吗? thanks! 谢谢!

Jquery effects should sove your problem jQuery的效果应该解决你的问题

Effects API 效果API

Effects Wiki 效果维基

您可以使用此jquery slideshow插件 ,它具有不同的过渡样式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM