我目前正在尝试实施 轻松滑块 与我的Drupal实例。

我大部分时间都设法完成了它。请访问我的开发网站

http://www.iamvishal.com/dev/

如果单击右箭头,则图像幻灯片,但在左侧,您可以看到一些图像剪辑。

我尝试了CSS,但我似乎无法摆脱它。任何建议都将不胜感激。

欢呼,维沙尔

我设法解决了它。 JS从LI组件中获得总宽度和高度,因此您需要更改CSS LI细节。

#slider2{margin-top:1em;}
#slider li, #slider2 li{ 
    /* 
        define width and height of list item (slide)
        entire slider area will adjust according to the parameters provided here
    */ 
    width:416px;
    height:287px;
    overflow:hidden; 
    }   
有帮助吗?

解决方案 2

我设法解决了它。 JS从LI组件中获得总宽度和高度,因此您需要更改CSS LI细节。

#slider2{margin-top:1em;}
#slider li, #slider2 li{ 
/* 
    define width and height of list item (slide)
    entire slider area will adjust according to the parameters provided here
*/ 
width:416px;
height:287px;
overflow:hidden; 
}   

其他提示

尝试 Nivo滑块

这真的很棒且易于使用。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top