[jQuery] Re: jcarousel lite beforestart improvement

2009-04-20 Thread Gergely Hodicska
o.beforeStart.call(this, vis()); -> o.beforeStart.call(this, vis(), to); I was too fast, this is not enough. Something like this needed: var nextItem = parseInt(to); var numberOfScrolledItems = itemLength-2; if (nextItem < 1) { nextItem += numberOfScrolledItems; } else if (nextItem > numbe

[jQuery] jcarousel lite beforestart improvement

2009-04-20 Thread Gergely Hodicska
Hi, It would be nice to add the following modification to the jcarousel lite plugin: o.beforeStart.call(this, vis()); -> o.beforeStart.call(this, vis(), to); This way a handler able to update for example an info panel which is related to the next item. Best Regards, Felhő