jq跳转
$('.exchange_mode').eq(3).on('click', function () {
$(this).attr('href', './relation.html?type=4');
});
if (window.location.search == "?type=1") {
$('html,body').animate({
scrollTop: $('#a').offset().top
}, 30)
}
jq跳转
$('.exchange_mode').eq(3).on('click', function () {
$(this).attr('href', './relation.html?type=4');
});
if (window.location.search == "?type=1") {
$('html,body').animate({
scrollTop: $('#a').offset().top
}, 30)
}
本文标题:jquery页面跳转
本文链接:https://www.haomeiwen.com/subject/atywxqtx.html
网友评论