我目前正在尝试用我的drupal实例实现easy slider。
大部分时间我都设法完成了。请访问我在的开发网站
http://www.iamvishal.com/dev/
如果你点击右边的箭头,图像会滑动,但在左边你可以看到一些图像剪辑。
我试过css,但似乎无法摆脱它。任何建议都将不胜感激。
干杯,Vishal
我设法解决了这个问题。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 Slider
它真的很神奇而且很容易使用。
我设法解决了这个问题。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;
}