Wilto/Dynamic-Carousel — Issue #54: IE7 adjRounding Issues
Author: mdance
Created: 2011-11-24 10:26:33+00:00
State: open

I have a carousel with 3 slides, set to 100%.

In IE7, I am experiencing problems which is causing the second slide to not appear leaving just the background of the slider container.

After about ~12 hours, I have narrowed down the problem to the adjRounding function.

Here are the calculations through the function:

When clicking next on the first slide:

diff: 2424 i: 0 left: 0
diff: 2424 i: 1 left: 2424
diff: 2424 i: 2 left: 4848

When clicking next on the second slide:

diff: 1201 i: 0 left: 0
diff: 1201 i: 1 left: 1201
diff: 1201 i: 2 left: 2402

When clicking prev on the third slide:

diff: 11 i: 0 left: 0
diff: 11 i: 1 left: 11
diff: 11 i: 2 left: 22

When clicking prev on the second slide:

diff: 1201 i: 0 left: 0
diff: 1201 i: 1 left: 1201
diff: 1201 i: 2 left: 2402