[jQuery] Re: Animation error and next level help

2007-07-30 Thread Alexandre Plennevaux
i wonder if it is not caused by the negative value ( -208) looking good otherwise on FF ! _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: lundi 30 juillet 2007 15:23 To: jquery-en Subject: [jQuery] Animation error and next level help

[jQuery] Re: Animation error and next level help

2007-07-30 Thread Benjamin Sterling
Yeah, that is what I thought at first, but still errors out when i remove the minus sign, On 7/30/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: i wonder if it is not caused by the negative value ( -208) looking good otherwise on FF ! -- *From:*

[jQuery] Re: Animation error and next level help

2007-07-30 Thread Giuliano Marcangelo
Benjamin, ul.imageBox li {left:0;top:0}...appears to cure the Internet Exploder problem :) On 30/07/07, Benjamin Sterling [EMAIL PROTECTED] wrote: Yeah, that is what I thought at first, but still errors out when i remove the minus sign, On 7/30/07, Alexandre Plennevaux

[jQuery] Re: Animation error and next level help [Question 1 solved]

2007-07-30 Thread Joel Birch
On 31/07/2007, at 12:58 AM, Benjamin Sterling wrote: Question 2: I want to make the above code more dynamic, I am allowing for a option to be passed in to change the direction of the animation, but when I do: newDirection = 'left';

[jQuery] Re: Animation error and next level help [Question 1 solved]

2007-07-30 Thread Joel Birch
On 31/07/2007, at 2:10 AM, Joel Birch wrote: var leftAlign = true; var posiOffset = 10; var c = { width : 100px}; c[leftAlign ? 'left' : 'right' ] = posiOffset +'px'; $('#el').css(c); Correction: obviously 100px needs to be in quotes, and the first two variables are actually set

[jQuery] Re: Animation error and next level help [solved]

2007-07-30 Thread Benjamin Sterling
Joel, That actually worked real well; why this is an error, I am not sure. I may open a ticket. Really appreciate your help. On 7/30/07, Joel Birch [EMAIL PROTECTED] wrote: On 31/07/2007, at 2:10 AM, Joel Birch wrote: var leftAlign = true; var posiOffset = 10; var c = { width : 100px};