IE fails once again, jQuery scroll vibrating heavily
I'm using jQuery's scrollTop and scrollLeft to scroll on a website. Everything works perfectly in Chrome and Firefox, but in IE9 the screen vibrates like crazy when scrolling.
This i开发者_如何学Cs my code for scrolling:
$('body').animate({
scrollTop: '1980px',
scrollLeft: '500px'
}, 800, 'swing');
I've also tried using animate on $(window), $('html') and $('html, body'), no effect.
You can view the live website here: webvalid.nl/thomas
Has anyone had similar problems? I couldn't anything googling... Thanks in advance!
This isn't the solution you are looking for but you could always use: http://www.dyn-web.com/code/scroll/
I thought this might work because there is no easing, and it looks to me this could be done by scrolling a div and doing the animation separately on the left.
sorry if im no help...
精彩评论