简体   繁体   English

ExtJS 4中的旋转木马(多图像滑块)

[英]Carousel (multi image slider) in ExtJS 4

Is there any way to design a carousel (slider having multiple images and sliding in horizontal direction) in ExtJS 4? 有没有办法在ExtJS 4中设计轮播(具有多个图像并在水平方向上滑动的滑块)?

I want to implement something like this for my existing ExtJS 4 project: 我想为我现有的ExtJS 4项目实现这样的功能:

在此处输入图片说明

You can see the above carousel by searching "Top dishes" on Google. 您可以通过在Google上搜索“热门菜肴”来查看上述轮播。

Can it be acheived by ExtJS 4 widgets or I have to use any external Javascript/CSS plugin or code? 是否可以通过ExtJS 4小部件实现,或者我必须使用任何外部Javascript / CSS插件或代码?

Any working code, link or example will be highly helpful. 任何有效的代码,链接或示例都将非常有帮助。

ExtJs 4 already has widgets that would help you creating such a slider. ExtJs 4已经具有可帮助您创建此类滑块的小部件。

You can use DataView along with a nice itemTpl and a Store containing the dishes ;) 您可以使用DataView以及一个漂亮的itemTpl和一个包含盘子的Store ;)

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

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