我試圖讓jQuery滑塊與我的divs而不是圖像一起工作... 有沒有辦法用滑塊控件來做到這一點? 我有作爲li列表構建的滑塊控件。 有什麼建議傢伙?div上的jQuery滑塊
下面是我有:
<div class="slide-show" id="slide-show">
<div class="slide-1" id="slide-1">
<div>
<h1>Connect with fellow food lovers</h1>
<p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
<a href="#"><img src="img/home/home-join-now.png" /></a>
</div>
</div>
<div class="slide-2" id="slide-2">
<div>
<h1>Connect with fellow food lovers</h1>
<p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
<a href="#"><img src="img/home/home-join-now.png" /></a>
</div>
</div>
<div class="slide-3" id="slide-3">
<div>
<h1>Connect with fellow food lovers</h1>
<p>Share your passion for food with friends, and form an exclusive society with a direct connection to the finest restaurants and cafes.</p>
<a href="#"><img src="img/home/home-join-now.png" /></a>
</div>
</div>
<div class="slider-control">
<a href="javascript:void(0);">1</a>
<a href="javascript:void(0);">2</a>
<a href="javascript:void(0);">3</a>
</div>
</div>
[有些代碼請](http://stackoverflow.com/faq#questions)。 –