
通过JS实现。点击图片跳转到另一个网站。 一定要js代码的。不要普通的。谢谢了
1个回答
展开全部
document.getElementById('要点击跳转的图片id').onclick=function(){
window.location.assign('要跳转的网址');
}
window.location.assign('要跳转的网址');
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
类别
我们会通过消息、邮箱等方式尽快将举报结果通知您。
说明
0/200