萬盛學電腦網

 萬盛學電腦網 >> 網頁制作 >> 腳本Html教程 >> 鏈接確認按鈕

鏈接確認按鈕

 <html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>網頁特效|Linkweb.cn/Js|---鏈接確認按鈕</title>
</head>

<body onunload="bookmark()">

<a href="javascript :winconfirm()">網頁特效</a>
<script language="">
function winconfirm(){
    question = confirm("你確認要到“網頁特效阿”嗎?")
    if (question != "0"){
        window.open("http://linkweb.cn/js")
    }
}
</script>

</body>

</html>

copyright © 萬盛學電腦網 all rights reserved