简体   繁体   English

寻找一个JS滑块插件,该插件支持一次显示多张幻灯片,以及不同宽度的幻灯片

[英]Looking for a JS slider plugin that supports multiple slides shown at once, and also different width slides

It's a tough ask, and I have not found anything on Google that satisfies this. 这是一个很难回答的问题,我在Google上还没有找到任何满足此要求的东西。 Basically, this slideshow implementation has 2 types of slides, a normal width one and a double width one. 基本上,此幻灯片演示实现具有两种类型的幻灯片,正常宽度的一种和双倍宽度的一种。 Along with that, the slider itself is wide enough so that it can have 5 normal width slides showing at once. 除此之外,滑块本身也足够宽,因此可以一次显示5张正常宽度的幻灯片。 So, this would mean that it could also have 3 normal width slides showing with 1 double width slide. 因此,这意味着它也可以显示3个正常宽度的幻灯片和1个双倍宽度的幻灯片。 The problem is that with some plugins I have tried (Slick, bxSlider), it normalizes the width of my slides on initialization, instead of keeping them at different widths. 问题是,对于我尝试过的某些插件(Slick,bxSlider),它可以在初始化时标准化幻灯片的宽度,而不是将它们保持在不同的宽度。 Anyone ever used a plugin that can do what I am looking for? 有没有人使用过可以满足我需求的插件?

Try OwlCarousel: http://www.owlcarousel.owlgraphic.com/demos/autowidth.html 尝试使用OwlCarousel: http ://www.owlcarousel.owlgraphic.com/demos/autowidth.html

It supports slides with different width. 它支持不同宽度的幻灯片。

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

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