You have 2 options.

- Binding externally:
var $links = $('#navigation a').click(function(){
    $links.removeClass('selected');
    $(this).addClass('selected');
});

- Using the onBefore callback.

I think the first one is simple and safe. I'd go for that.

Cheers

--
Ariel Flesler
http://flesler.blogspot.com

On Oct 9, 8:37 am, "Armand Datema" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am using the serialscroll on my site to page through a news resultset. I
> am using the naviagation option that automatically turns a given list into
> the naviagation for this scroller.
>
> However I would like to have the link in the ul have a new class when its
> clicked so I can style this differently, whats the best way to do this.
>
> thanks in advance
>
> Armand

Reply via email to