简体   繁体   English

如何使twitter bootstrap 3轮播中心处于活动图像的中心,并显示下一张和上一张图像的一部分?

[英]How can I make twitter bootstrap 3 carousel centre the active image and show part of the next and previous images?

So that the active image is animated to the centre and you get a hint of the previous and next images. 这样就可以将活动图像设置为中心的动画,并获得前一幅图像和下一幅图像的提示。

This seems like it should be fairly straight forward to do but I can't seem to get it to work properly. 这似乎应该很简单,但是我似乎无法使其正常工作。

Any help is much appreciated. 任何帮助深表感谢。

The images that aren't in view are hidden. 看不见的图像被隐藏。 And if you unhide them they are actually above one another. 而且,如果您取消隐藏它们,它们实际上是彼此重叠的。

It looks like your best option is to find a different library or roll your own. 看来,最好的选择是找到其他库或自己滚动。 Trying to rewrite the CSS would be more work than its worth. 尝试重写CSS可能比其价值还多。 There are plenty of carousel libraries out there. 那里有很多轮播库。

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

相关问题 在Twitter Bootstrap Carousel中显示下一张和上一张图片 - Show next and previous image in Twitter Bootstrap Carousel 如何使图像轮播控件“下一个”和“上一个” - How to make Image Carousel Controls 'next' and 'previous' AngularJS轮播:如何显示上一张和下一张图片的一部分 - AngularJS carousel: how to display part of previous and next images 在bootstrap Carousel中显示下一个图像 - Show the next image in bootstrap Carousel 如果我单击下一个/上一个,如何立即显示从轮播到第二个div的活动图像? - How to display immediately an active image from carousel to my 2nd div if I click next/ previous? 引导轮播下一个和上一个图像不显示 - bootstrap carousel next and previous images not displaying 显示带有引导轮播的预览(上一张和下一张图片) - Showing previews (previous and next image) with bootstrap carousel Carousel Twitter BootStrap 如何隐藏最后一个和第一个项目的上一个或下一个按钮 - Carousel Twitter BootStrap how to hide the previous or next button at the last and first Item 如何使它转到上一张图像而不是下一张图像? - How can I make this go to a previous image instead of the next one? 无法显示图像 unorderlist 中的下一张和上一张所有图像 - Can't show next and previous all images from image unorderlist
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM