CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

IE ONLY - slow animation if single clicked, fine if double clicked #14

Closed ofwalking closed 13 years ago

ofwalking commented 13 years ago

I'm having an IE only issue since the update in version 1.7 (v.1.5 doesn't have this issue). I'm using the following settings... width to 960, panelWidth to 1, reducedSize to 1, and imageRatio to 1.

In IE 7 and 8 the animations are really slow, if they slide at all, although I find that they work fine if the link is double clicked instead of single clicked.

Mottie commented 13 years ago

Hi ofwalking!

I recently updated to IE9 and I don't have the older versions to test this issue. Even when I run IE9 in compatibility mode, I don't see a problme with slow animations. Try version 1.6.3 and see if the issue is gone. If so, then it's most likely due to switching the positioning of the panels from using "left" to "scrollLeft" to bypass an issue with jQuery (http://bugs.jquery.com/ticket/7193) which was fixed in jQuery 1.5.

Mottie commented 13 years ago

Hi ofwalking!

Version 2.0 is now available. The amount of scripting to animate the panels has been reduced so hopefully that will speed up the older IE versions.

fgosfacdjtq commented 13 years ago

I'm using IE 8.0.7600... and I can confirm that the new version (http://chriscoyier.github.com/MovingBoxes/#&slider1=4&slider2=3) scrolls at an appropriate speed. Double-clicking the next or previous buttons doesn't change the speed of the scrolling.

Mottie commented 13 years ago

Oh good, so this issue is resolved? :P

Mottie commented 13 years ago

Closing issue... guessing it's been resolved

ofwalking commented 13 years ago

Yes it has, thanks. That fix did the trick.

On Mar 31, 2011, at 6:32 AM, Mottiereply@reply.github.com wrote:

Closing issue... guessing it's been resolved

Reply to this email directly or view it on GitHub: https://github.com/chriscoyier/MovingBoxes/issues/14#comment_940992