This issue just bit me spectacularally in the backside due to the fact
that I'm trying to scroll one div inside another by adjusting the
inner's div top relative to the container div. when scrolling right
this value becomes negative and the result is a relative animation
instead of an absolute on
> John...ust to clarify. When you say absolute and relative this is what I
> think those mean...?
>
> Absolute = move to X.
> Relative = move X to new position.
>
> Is this correct?
Yep!
--John
, September 12, 2007 8:13 AM
To: jquery-en@googlegroups.com
Cc: [EMAIL PROTECTED]
Subject: [jQuery] Re: Animation bug in 1.2 (@Brian and @John)
Hey, thanks for your thoughts. I thought this issue over last night and have
come up with the following solution:
Absolute Animations:
"50px&qu
Hey, thanks for your thoughts. I thought this issue over last night
and have come up with the following solution:
Absolute Animations:
"50px"
"-50px"
Relative Animations:
"+=50px"
"-=50px"
I'm going to be pushing this live in an update this weekend, so that
it's fixed quickly. (In the future, s
The code ...
// If a +/- token was provided, we're doing a relative animation
if ( parts[1] )
end = ((parts[1] == "-" ? -1 : 1) * end) + start;
... is based on the assumption that any value with a leading +/- indicator
is a relative animation.
Unfortunately this
5 matches
Mail list logo