Aha, thanks for trhe extra info! Some other things are clear to me now! Thanks again!
On Jan 6, 9:17 pm, Scott Sauyet <scott.sau...@gmail.com> wrote: > On Jan 6, 2:17 pm, knal <knalp...@gmail.com> wrote: > > > BTW It also works without the " return this.each() { " part! > > Yes, but that allows you to continue chaining, i.e. > > $(this).closest(".project").closeProject().css({color: "blue"}); > > or whatever. This is the usual technique with jQuery plug-ins. > > -- Scott