如果我尝试同时使用 AnytingSlider expand 和 resizecontents 它会将幻灯片高度降低到 2px 没有resizecontent 真正的幻灯片正确显示。我在 CSS 中设置了高度,并查看了 js,但不知道为什么会这样
CSS
#slider1 {
width: 700px;
height: 280px;
list-style: none;
overflow-y: auto;
overflow-x: hidden;
}
body
....
<div class="box">
<div id="banner-full">
<div id="page-wrap">
<div id="hover">
//...some hover over slider...//
</div>
<div class="anythingSlider anythingSlider-metallic activeSlider" style="width: 617px; height: 2px;">
<div class="anythingWindow" style="width: 100%; height: 100%;">
<ul id="slider1" class="anythingBase horizontal" style="width: 3085px; left: -617px;">
<li class="cloned panel" style="width: 617px; height: 2px;">
<li class="panel activePage" style="width: 617px; height: 2px;">
<li class="panel" style="width: 617px; height: 2px;">
<li class="panel" style="width: 617px; height: 2px;">
<li class="cloned panel" style="width: 617px; height: 2px;">
</ul>
</div>
<div class="anythingControls" style="display: block;">
//...some controls html...//
</div>
</div>
</div>
</div>
</div>
....