我目前正在尝试用我的drupal实例实现easy slider。
我已经设法在很大程度上完成了。请访问我的开发网站:
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;
} 发布于 2012-01-11 17:24:30
我设法解决了这个问题。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;
} 发布于 2012-01-11 02:19:32
试试Nivo Slider
它真的很神奇,而且很容易使用。
https://stackoverflow.com/questions/8808279
复制相似问题