[jQuery] Re: How to use context and reference it inside a jquery object

2008-09-18 Thread Ariel Barreiro
; wrote: > Ah, you're missing the var keyword. Compare your > > eachForm = $(this); > > to Dave Methvin's > > var $form = $(this); > > That's why you were always getting the last form element. No var keyword > means global scope means no closure. > &g

[jQuery] How to use context and reference it inside a jquery object

2008-09-18 Thread Ariel Barreiro
I have a question, is there a way to reference the context in a way such as $(this)? for example, let say I have this (using general selectors) $('.forms').each(function(i) { // I want to iterate over all forms // here $(this) is each form $(':input', $(this)).change(function(){ // Here I

[jQuery] Re: Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-21 Thread Ariel Barreiro
t;[EMAIL PROTECTED]> wrote: > > Isn't jerky here. What browser and machine spec are you using? > > On May 19, 7:27 pm, Ariel Barreiro <[EMAIL PROTECTED]> wrote: >> I am new to jquery but an experience developer. >> >> Here's the code actually run

[jQuery] Re: Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-20 Thread Ariel Barreiro
It was failing in IE 7 as well, I fixed this, sorry for that. Any help on the jerkyness. On May 19, 4:35 pm, ripple <[EMAIL PROTECTED]> wrote: > FYI. > > Fails to execute in IE 6. > > Ariel Barreiro <[EMAIL PROTECTED]> wrote: > > I am new to jquery but an exp

[jQuery] Very basic animation of an image is jerky (not smooth). Am I doing something wrong?

2008-05-19 Thread Ariel Barreiro
I am new to jquery but an experience developer. Here's the code actually running: http://guilespi.dyndns.org/jquery/bounceimage/ CSS: http://guilespi.dyndns.org/jquery/bounceimage/bounce.css JS: http://guilespi.dyndns.org/jquery/bounceimage/bounce.js The first vector is generally very jerky. S