[jQuery] Re: JCarousel - set offset via class rather than number?

2009-03-20 Thread swortis
Ok, How about this? If each list item has a class which reflects its order in the list (, and so on..) and *one* of the list items also has an additional class , is there a way of using that number like this: jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({

[jQuery] JCarousel - set offset via class rather than number?

2009-03-09 Thread swortis
Can JCaroursel be set up so the list is offset via a class name? (Example: six list items in the carousel, but the list item with class="active" is shown as the first visible item in the list) Thanks

[jQuery] Re: Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread swortis
Brilliant! Works wonderfully. On Jun 1, 1:49 pm, Jason Huck <[EMAIL PROTECTED]> wrote: > Here's one way, no "last" class required, though it probably could be > improved upon: > > $($('p').get(3)).before($('p:last')); > > - jason > &g

[jQuery] Newbie Q: Insert last paragraph just before fourth paragraph?

2008-06-01 Thread swortis
Hi all- I suspect this is ridiculously easy.. but I'm lost.. I'm looking for a jquery way of taking the last paragraph (with class="last") of a many paragraph page and 'inserting' it just before the fourth paragraph (which does not have a class). So: something something something something som