Hi Byron,
i am not an expert but i had the same issue with my sliderView
plugin.
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
I looked at your script and i think that if instead of declaring the
imagewidth [var imageSize = 180;] you let jq retrieve the width of an
image LOAD (beware of this it's different from DOM is READY), it would
be more accurate at error free. Also it would be reusable to whatever
amount and kind of images one needs.
Give it a try.
PS: yes, i see the 2px bug on the right with FFox.
GC




On Jun 18, 7:29 am, "John Resig" <[EMAIL PROTECTED]> wrote:
> Byron -
>
> You should give jQuery 1.1.3a a try. This was one of the nasty bugs
> that we were able to resolve in it:http://code.jquery.com/jquery-1.1.3a.js
>
> Let me know if that code helps to solve your problem.
>
> --John
>
> On 6/17/07, Byron <[EMAIL PROTECTED]> wrote:
>
>
>
> > 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