I have a problem using slideDown (of a div under the photo holding the 'close'-btn).
In Firefox no problem occurs, but when viewing in IE, the animation stutters.
Site is here: http://www.serelsnauw.nl/users/marcel/s ... ight.html
js-file is here: http://www.serelsnauw.nl/users/marcel/s ... alight.js
See what i mean!
I've tried delaying (or using timeout) slideDown, so no other queued animations interfer.
I also tried:
-setting a fixed height
-removing all padding and margins
-using .animate() instead
All whit the same result: a stuttering slideDown-animation in IE
Anybody knows why? (i've been at this for hours now)
jQuery slideDown very slow and stuttering on IE
Moderator: General Moderators
-
marcelcolt
- Forum Newbie
- Posts: 22
- Joined: Tue Mar 02, 2010 5:56 am
Re: jQuery slideDown very slow and stuttering on IE
What version of IE? IE's javascript engine is much slower than other browsers - it may simply not be able to handle the animation as smoothly as other browsers.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
marcelcolt
- Forum Newbie
- Posts: 22
- Joined: Tue Mar 02, 2010 5:56 am
Re: jQuery slideDown very slow and stuttering on IE
I use IE8.
I thought, since it has the best W3C-compliance ever seen in IE, the javascript-engine would be appropriate...
Today i had the chance to test it in IE7...flawless!
So i'm betting this problem occurs only in IE8.
Is that any help?
I thought, since it has the best W3C-compliance ever seen in IE, the javascript-engine would be appropriate...
Today i had the chance to test it in IE7...flawless!
So i'm betting this problem occurs only in IE8.
Is that any help?
Re: jQuery slideDown very slow and stuttering on IE
What about 9?
I honestly don't know what the problem is. If the problem exists with 9 though - it's probably due to the updates to Trident that IE8/9 have over IE7. The best I can suggest is googling for animation stuttering in IE8.
I honestly don't know what the problem is. If the problem exists with 9 though - it's probably due to the updates to Trident that IE8/9 have over IE7. The best I can suggest is googling for animation stuttering in IE8.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
-
marcelcolt
- Forum Newbie
- Posts: 22
- Joined: Tue Mar 02, 2010 5:56 am
Re: jQuery slideDown very slow and stuttering on IE
Oke, thanks!
It's not just the 'slideDown'-animation by the way. FadeIn behaves the same on the photo. But fadeIn for the background and the resizing-animation for the image-container are ok.
Pretty weird...i'll keep looking.
If i ever stumble upon an answer, i'll let you know.
Again: Thank you!
It's not just the 'slideDown'-animation by the way. FadeIn behaves the same on the photo. But fadeIn for the background and the resizing-animation for the image-container are ok.
Pretty weird...i'll keep looking.
If i ever stumble upon an answer, i'll let you know.
Again: Thank you!