Sounds like a true bug. Could you submit a bug report?
http://dev.jquery.com/

--John

On 9/11/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote:
> Url in question:
> http://benjaminsterling.com/experiments/jqGalViewV2/
>
> At about line 87 and then again at line 91 I have the following:
>
> $holder.animate({marginTop:-($mainImgContainer.height()*index)},'1000',
> opts.tnease);
>
> Depending on the link at bottom clicked, the marginTop gets set to what ever
> $mainImgContainer.height()*index adds up to, but with a
> minus infront.  So if you click on eight you get -2492.  And when you
> clicked 7, you would get -2136.  In 1.1.3 this worked fine[1].  But with 1.2
> it will just add up the marginTop, so -2492 and -2136 becomes -4628.
>
> In an earlier post, John[2] suggested that the animation method only took in
> integers, so if I do:
>
> $holder.animate({marginTop:parseInt(-($mainImgContainer.height()*index))},'1000',
> opts.tnease);
>
> It should work, but sadly, still adds up.  Is this a true bug, or am I
> missing something?
>
> [1] http://benjaminsterling.com/experiments/jqGalView
> [2]
> http://groups.google.com/group/jquery-en/browse_thread/thread/705cd47864c22c49/485702b3f03547c5#485702b3f03547c5
> --
> Benjamin Sterling
> http://www.KenzoMedia.com
> http://www.KenzoHosting.com

Reply via email to