The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: oliver <oliverlan...@gmail.com>
Date: Fri, 8 Aug 2008 18:36:03 -0700 (PDT)
Local: Fri, Aug 8 2008 9:36 pm
Subject: small and maybe useful "else" extension
I sometimes have the need to select a group of elements, perform one
action on one or more, and a different action on the rest of them, for example: $("div")
This is a trivial example, but sometimes the "eq(1)" is a more
As a shorthand, I wrote a small extension:
};
$("div")
.eq(1) .fadeTo(1000, 1) .else() .fadeTo(1000, 0); (I realize else is a reserved word: it works in Firefox, but you could
oliver
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||