This commit is contained in:
teasiu
2023-12-24 00:37:23 +08:00
parent 9723a9a34e
commit 893fee5e54

View File

@@ -25,25 +25,12 @@
height: auto;
}
</style>
<script>
let clickCount = 0;
function recordClick() {
// 增加点击计数
clickCount++;
// 在这里可以添加其他记录点击的操作,比如发送到服务器等
// 跳转到链接地址
window.location.href = "https://www.521f.com";
}
</script>
</head>
<body>
<br/>
<br/>
<h1>是兄弟就找我,无兄弟不传奇!</h1>
<!-- 点击图片调用recordClick函数 -->
<a href="https://www.521f.com">
<img src="ad.jpg" alt="广告图片">
</a>
</body>
</html>