我目前正在尝试 使用我的 drupal 实例实现简单的滑块。
我已经设法完成了大部分工作。请访问我的开发网站
如果单击右箭头,图像会滑动,但在左侧,您可以看到一些图像剪辑。
我尝试了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;
}