<!DOCTYPE html>
【资料图】
<html>
<body>
<a href="URL_114514">
<img src="刚刚做好的GIF. GIF" >
<a>
<script>
var a = 0;
setTimeout(function() {
setInterval(function(){
a++;
if(a === 4){
a = 0;
}
}, 3000);
if (a === 0) {
114514= "https://www.bilibili.com"
}
if (a === 1) {
114514= "https://www.dilidili.com"
}
if (a === 2) {
114514= "https://www.qiliqili.com"
}
if (a === 3) {
114514= "https://www.pilipili.com"
}
document.querySelector("a").href =114514 ;
</script>
</body>
</html>
此专栏为补发
原专栏:【html简单实现B站主页的滚动图片-哔哩哔哩】 https://b23.tv/pZ3TMzD
记得三连
X 关闭
Copyright © 2015-2022 热讯机械网版权所有 备案号:豫ICP备20005723号-6 联系邮箱:29 59 11 57 8@qq.com