[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread Nikola
Thanks again, I understand what's happening now and I've been able to correct my code. The plugin I'm working on is functioning perfectly - I no longer need to filter out results or toggle classes. On Feb 21, 4:20 pm, Nikola wrote: > Oh > > Thank you!  I've tried so many different thing

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread 浩翔
no problem ! you could be more careful next time. :) On Feb 22, 5:20 am, Nikola wrote: > Oh > > Thank you!  I've tried so many different things, like defining _this > after the event but I never thought of writing it this way.  Thanks > much, this explains it. > > On Feb 21, 4:18 pm, 浩

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread Nikola
Oh Thank you! I've tried so many different things, like defining _this after the event but I never thought of writing it this way. Thanks much, this explains it. On Feb 21, 4:18 pm, 浩翔 wrote: > sorry for my poor english,  i hope you can understand my mean. > > On Feb 22, 5:12 am, Alex

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread 浩翔
sorry for my poor english, i hope you can understand my mean. On Feb 22, 5:12 am, Alex wrote: > $(this) is no problem. > > hover_in() and hover_out() should place in each method. > > if hover_in() and hover_out() placed outside each method,   $this in   > hover_in() and hover_out()  is  all li t

[jQuery] Re: How can I specify what $(this) is within a function?

2009-02-21 Thread Alex
$(this) is no problem. hover_in() and hover_out() should place in each method. if hover_in() and hover_out() placed outside each method, $this in hover_in() and hover_out() is all li tag. are u understand ? you should write like this : = $.fn.simpl