我需要一個有兩行的滑塊。在jQuery谷歌組中找到了一個解決方案。jQuery多行傳送帶,再
工程,但錯了。 :) 隨着選項「通告:真」滾動到空白。舉例來理解我的意思:http://test.demx.info/carousel/
如何解決?
我需要一個有兩行的滑塊。在jQuery谷歌組中找到了一個解決方案。jQuery多行傳送帶,再
工程,但錯了。 :) 隨着選項「通告:真」滾動到空白。舉例來理解我的意思:http://test.demx.info/carousel/
如何解決?
jCarousel_Lite中存在一個錯誤。 Here是固定的jCarousel_Lite代碼作爲純文本和here它被壓縮。
如果你是對什麼是錯好奇:筆者檢查了兩個不同的條件下,如果用戶達到傳送帶的名單末尾 - 首先,當circular
是true
,他檢查了它這樣的:if (to <= o.start - v - 1)
和if (to >= itemLength - v + 1)
。第二次檢查,當circular
設置爲false
時,他檢查它是這樣的:if (to < 0 || to > ((itemLength - v)/o.rows))
。我所做的只是改變了if (to <= o.start - v - 1)
和if (to >= itemLength - v + 1)
到if (to < 0)
和if (to > ((itemLength - v)/o.rows))
。它的工作原理! =)
在您提供的頁面的源代碼中,未定義「circular:true」。請啓用`circular:true` – 2011-02-02 09:45:32