Great!! I got it working! Thanks you very much!!!
BTW It also works without the " return this.each() { " part!
On 6 jan, 17:32, Šime Vidas <[email protected]> wrote:
> $("a.less").livequery( 'click', function() {
> $(this).closest(".project").closeProject();
> return false;
>
> });
>
> $.fn.extend({
> closeProject: function() {
> return this.each() {
> $(this).find(".morebody").slideUp('normal');
> }
> }
>
> });

