2012-01-10 87 views
0

我目前正试图用我的drupal实例实现easy sliderEasyslider和drupal 7

我已经设法完成它的大部分。请到我的dev的网站在

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; 
    } 
+0

要回答你自己的问题作出答复并接受它。这样你的问题将被确定为一个答案。 – regilero 2012-01-10 20:15:21

+0

当然,只是做你说 – 2012-01-11 09:24:50

+0

标记为接受与复选标记 – regilero 2012-01-11 09:28:41

回答

0

我设法解决它。 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; 
} 
0

尝试Nivo Slider

这真是惊人的,易于使用。

+0

我宁愿用简单的滑块 – 2012-01-10 18:30:19