Thanks,

I tried setting it in the call bak like so..

...
$("#imageBoxInside").animate({left: sLeft}, 'slow',
  function() {
    wait = 0;
    var left = parseInt($("#imageBoxInside").css("left"));
    if (left < 0 && left > -(imageSize * transitionSize)) {
      $("#imageBoxInside").css("left", "0px");
    }
  });
...

and that works great :)

But it would be nice to not have to use the hack...

im still not really sure if its my code or jquery thats causing
rounding error...




On Jun 18, 2:28 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote:
> Having no actual idea and just venturing a guess, I'd say maybe
> there's a compounding rounding error or something? Maybe try setting
> the correct value after the animation has completed (via a callback)?

Reply via email to