例子:http://www.net-a-porter.com/product/163606通过jQuery可以垂直滚动ul和li吗?
到目前为止我的代码:
<style type="text/css">
li {float:left;height:50px}
</style>
<div style="height:100px">
<a href="#" class="top">up</a>
<ul>
<li>Product 1</li>
<li>Product 2</li>
<li>Product 3</li>
<li>Product 4</li>
<li>Product 5</li>
<li>Product 6</li>
</ul>
<a href="#" class="down">down</a>
</div>
在您的解决方案,在其他} {我没有看到的原因的jCarousel()函数,因为你隐藏的箭头。比它看起来不错:) –
基本上,如果我不把,... ...的Carosel没有出现其他(上行分配得到它使用自动风格命令 - 所以我的CSS是依赖于它)我上面的脚本只是隐藏的箭头,但仍显示代替carosel CSS和代码依赖于它。谢谢您的帮助。 – TheBlackBenzKid