Thanks for the patch. I still can't seem to get it working. Do you
have a working example you could post? Thanks.

Seth

On Oct 10, 1:03 pm, Stosh <[EMAIL PROTECTED]> wrote:
> I haven't seen anyone post apatchforjCarouselliteyet, so if anyone
> is trying to get it to work with jQuery 1.2.0 the fixes are simple and
> you can use thepatchbelow.  I've also posted thepatchon 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