当前的位置: 首页 >> 财经要闻 > 内容

热门看点:代码补发

发布时间:2023-05-07 14:54:32 来源:哔哩哔哩

<!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

记得三连

关键词:
推荐阅读

Copyright   2015-2022 财报分析网版权所有  备案号:京ICP备12018864号-25   联系邮箱:29 13 23 6 @qq.com