im trying to scroll the window when a certain divs are clicked,the problem i have got is it works perfectly in safari but in IE 6 and above there seems to be flickering.The screen also flickers when you try clicking in the scroll area of the window !! I cant figure out what the problem is.Could some one help please?
Jquery Code :
$("div.trigger").click(function(){
$('html, body').animate({
scrollTop: $(this).next(".toggle_container").offset().top
}, 2000);
});
There is a jQuery Easing Plugin in order to deal with that.