专注于免费网站建设领域,为诸多企业免费创造了一个个行业标杆网站,助力网民变访客,访客变顾客,共迎更伟大、更具机遇的未来。

您现在的位置: 首页>>免费教程>>建站教程

打开链接时弹出询问确认框

来源:本站 发布时间:2023-09-28热度:2155 ℃
打开链接时弹出询问确认框

<html>

<head>

<meta http-equiv="Content-Type" mrc="text/html; charset=gb2312">

<title>打开链接时询问</title>

</head>

<body>

<script>

function winconfirm(){

question = confirm("将转向助力推网络,是否继续呢?")

if (question != "0"){

window.open("https://www.zhulitui.com/")

}

}

</script>

<a href="https://www.zhulitui.com/" onClick="winconfirm(); return false;">助力推网络</a>

</body>

</html>


本文地址:https://31jz.com/jzjc/1110.html