使用 jquery 循环插件防止背景显示
相当简单,如果您使用 jquery 的循环插件并创建幻灯片,幻灯片之间的过渡允许显示幻灯片下方的内容。我想避免这种情况,让一张幻灯片真正淡入另一张幻灯片,而不是淡入背景,然后淡入下一张幻灯片。
这可能吗?
谢谢!
例子: http://www.sonicinteractive.com.au/_WIP/slider_problem/
了解如何白线(和背景)穿过..
Fairly simple, if you use the cycle plugin for jquery and create a slideshow the transition between slides allows what's beneath the slides to show. I want to avoid this and have one slide truly fade into the other rather than kind of fading into the background and then into the next slide.
Is this possible?
Thanks!
Example:
http://www.sonicinteractive.com.au/_WIP/slider_problem/
See how the white line (and background) come through..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
将图像放置在它们下方但页面上方,并使用中性颜色来遮挡图像区域中的页面背景(即使用用于图像本身的相同蒙版创建它)。
Place an image below them but above the page with a neutral colour that blocks out the page background in the region of the image (i.e. create it from the same mask used for the images themselves).
您好,我已经通过删除包含滑块的包装器以及“主包装器”的背景颜色解决了这个问题。对于后者,我只留下背景图像来完成这项工作。
希望这有帮助
Hi I have solved the problem by removing the background colour of the wrappers containing the slider as well as the "main wrapper". For the latter I only left the backgound-image to do the job.
Hope that this helps