Ok, any future "bug" issues will be brought up there.

On 9/12/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> 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, stuff like this should be brought
> up on the jquery-dev list.)
>
> --John
>
>
> On 9/11/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote:
> > Not sure if this is any more help, but looking at the core around line
> 2593,
> > it looks like you check for a minus sign and then add that to the start
> > position/style and your comments says:
> >
> > "// If a +/- token was provided, we're doing a relative animation"
> >
> > But yet you are not looking, explicitly, for a plus sign.
> >
> > Well, hope this helps in some way.
> >
> >
> > On 9/11/07, Benjamin Sterling <
> > [EMAIL PROTECTED]> wrote:
> > > Will do, I also just did some testing and it looks like it happens
> when a
> > minus sign is in play.  I will post my findings to the bug report.
> > >
> > >
> > >
> > > On 9/11/07, John Resig <[EMAIL PROTECTED]> wrote:
> > > >
> > > > 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
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Benjamin Sterling
> > > http://www.KenzoMedia.com
> > > http://www.KenzoHosting.com
> >
> >
> >
> > --
> >
> > Benjamin Sterling
> > http://www.KenzoMedia.com
> > http://www.KenzoHosting.com
>



-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to