jQuery animate scrolltop on Opera bug
问题 Has anyone tried using $(“html, body”).animate({scrollTop:0}, 'slow'); on Opera browser? It does a weird effect especially if you scroll on a long page, it seems like the page go first to the top and then it scroll down to the right point. It is a weird disturbing effect... Is there any workaround to fix it? thanks 回答1: The attribute was not defined properly in the past. It was introduced by IE, I think, then reverse engineered to be implemented by different user agents. It has been since