我正在使用以下代码:
$('#goto_introduction_divcontent').click(function(){
var targetOffset = $('#introduction_div').offset().top;
$('html, body').animate({scrollTop:targetOffset}, 'slow');
if ($.browser.msie){
document.documentElement.scrollTop = targetOffset;
}
});
但是在Internet Explorer中无法使用。我的jsFiddle链接在这里。