[jQuery] Re: SerialScroll navigation modification question

2008-10-15 Thread Ariel Flesler
Ok, nice to know :) There is one snippet to generate sort of a simple pagination, based on the items. -- Ariel Flesler http://flesler.blogspot.com On Oct 15, 6:54 am, "Armand Datema" <[EMAIL PROTECTED]> wrote: > FYI > > this functionality also works great with the pagination plagin you only need

[jQuery] Re: SerialScroll navigation modification question

2008-10-15 Thread Armand Datema
FYI this functionality also works great with the pagination plagin you only need to modify it a bit the pagination plugin returns a span for the first item, this needs to be changed to a standard link var lnk = $(""+(appendopts.text)+"") and because the click handler is handled by the serialscr

[jQuery] Re: SerialScroll navigation modification question

2008-10-14 Thread Ariel Flesler
Nope, I thought I had a snippet for this on the "Doctorate on..." post, it seems I forgot to add this one. Will do as soon as I can. -- Ariel Flesler http://flesler.blogspot.com On Oct 14, 6:13 am, "Armand Datema" <[EMAIL PROTECTED]> wrote: > Thanks thats about how I solved it also just wanted

[jQuery] Re: SerialScroll navigation modification question

2008-10-14 Thread Armand Datema
Thanks thats about how I solved it also just wanted to check if somehow this was allready included int he plugin and I missed it Armand On Fri, Oct 10, 2008 at 10:33 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > You have 2 options. > > - Binding externally: > var $links = $('#navigation a').c

[jQuery] Re: SerialScroll navigation modification question

2008-10-10 Thread Ariel Flesler
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://flesle