[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 (li class=4, li class=5 and so on..) and *one* of the list items also has an additional class li class=active, is there a way of using that number like this: jQuery(document).ready(function() {

[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] 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: psomething/p psomething/p psomething/p

[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 On Jun 1, 9:02 am, swortis [EMAIL PROTECTED] wrote: Hi all- I