I haven't seen anyone post a patch for jCarousellite yet, so if anyone
is trying to get it to work with jQuery 1.2.0 the fixes are simple and
you can use the patch below.  I've also posted the patch on the
author's blog.  The issue seems to be limited (as best I can tell) to
lt() and gt() instead of slice().

Anyhow, here it is, for those who need it - enjoy:

--- Desktop/jquery.jcarousellite.js     2007-10-10 14:58:13.000000000
-0400
+++ Sites/higherthings.org-trunk/HTDB2/javascript/
jquery.jcarousellite.js 2007-10-10 14:56:51.000000000 -0400
@@ -227,7 +227,7 @@
         var div = $(this), ul = $("ul", div), tLi = $("li", ul), tl =
tLi.size(), v = o.visible;

         if(o.circular) {
-            ul.prepend(tLi.gt(tl-
v-1).clone()).append(tLi.lt(v).clone());
+            ul.prepend( tLi.slice(tl-
v-1).clone() ).append( tLi.slice(0,v).clone() );
             o.start += v;
         }

@@ -289,7 +289,7 @@
             }, o.auto+o.speed);

         function vis() {
-            return li.gt(curr-1).lt(v);
+            return li.slice(curr-1).slice(0,v);
         };

         function go(to) {

Reply via email to