当前位置:网站首页 / 建站 / 正文

htm随机图片代码

时间:2021年07月20日 | 作者 : liuhui | 分类 : 建站 | 浏览: 1958次 | 评论 0

阿里云限量代金券 | 此广告位出租25元/月

代码最少的随机图片htm广告代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>代码最少的随机图片广告代码</title>
<meta name="keywords" content="网页特效,网页模板,导航菜单,焦点幻灯片,JS代码" />
<meta name="description" content="HTML+CSS模板,JS广告代码,网页特效,导航菜单,焦点幻灯片代码,原创视频教程与网页模板和CSS技巧。" />
<head>
<script language="JavaScript" type="text/javascript">
//随机广告代码
tips = new Array(4);
tips[0] = '<a href="#" target="_blank"><img alt="建站" width="970" height="90" src="https://i.loli.net/2021/07/20/rIykDT2AUtKdLP7.jpg" border="0" /></a>';
tips[1] = '<a href="#" target="_blank"><img alt="建站" width="970" height="90" src="https://i.loli.net/2021/07/20/HBjfxp4vXZTQlKb.jpg" border="0" /></a>';
tips[2] = '<a href="#" target="_blank"><img alt="建站" width="970" height="90" src="https://i.loli.net/2021/07/20/Cj4xiRmyw3NA5VI.jpg" border="0" /></a>';
tips[3] = '<a href="#" target="_blank"><img alt="建站" width="970" height="90" src="https://i.loli.net/2021/07/20/Cj4xiRmyw3NA5VI.jpg" border="0" /></a>';

index = Math.floor(Math.random() * tips.length);
document.write(tips[index]);
</script>
</head>
<body>

</body>
</head>


推荐您阅读更多有关于“”的文章

猜你喜欢

网站分类
关注电脑博士
友情链接

分享:

支付宝

微信