Saturday, November 29, 2008

[jQuery] Re: [jCarousel]

Create an itemVisibleInCallback function. The second param is the list-item object, from which you can get the anchor.

http://sorgalla.com/projects/jcarousel/#Configuration

On Sat, Nov 29, 2008 at 10:38 AM, Alex <hempsworth@googlemail.com> wrote:

Using the example of external controls (http://sorgalla.com/projects/
jcarousel/examples/static_controls.html
).

When a certain item is visible, how do I add a class such as 'current'
to the <a href="#"> for that item?

Many thanks,
Alex

No comments: