标签:style io color ar sp div on cti html
function goTop() {
$(‘html, body‘).animate({scrollTop:0}, ‘slow‘);
}
function goDiv(div) {
var a = $("#"+div).offset().top;
$("html,body").animate({scrollTop:a}, ‘slow‘);
}
function goBottom() {
window.scrollTo(0, document.documentElement.scrollHeight-document.documentElement.clientHeight);
}
标签:style io color ar sp div on cti html
原文地址:http://www.cnblogs.com/sunjar/p/4062597.html