var url = window.location.href;
if (url.indexOf("action=3") >= 0) {
$('html, body').animate({
scrollTop: $('.3').offset().top
}, 'fast');
} else {
if (url.indexOf("action=2") >= 0) {
$("body, html").animate({
scrollTop: $('.2').offset().top
}, 'fast');
}
}文章標籤
全站熱搜
