function contentTop(top){ $(body,html).animate({ scrollTop: top }, 500 ); }
以获取原素top传至方可
contentTop($("#top").offset().top);
function contentTop(top){ $(body,html).animate({ scrollTop: top }, 500 ); }
以获取原素top传至方可
contentTop($("#top").offset().top);
扫码打开当前页
之前