ad
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user