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