第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

求救!幫忙看一下吧,已經(jīng)不行了

<!DOCTYPE html>

<html>

?<head>

? <title> new document </title> ?

? <meta http-equiv="Content-Type" content="text/html; charset=gbk"/> ??

? <script type="text/javascript"> ?

? ? function openWindows(){

? ? var open=confirm("open or not");

if(open==true)

{var url=prompt("is this address?","http;//idcbgp.cn");

if(url !=null)

{window.open(url,"_blank,",'width=600px,height=400px,menubar=no,toolbar=no');

}

else{alert("see you again");

}

else{alert("see you");}

}

? </script>?

?</head>?

?<body>?

?<input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />?

?</body>

</html>


正在回答

3 回答

復(fù)制那么一大蛋子代碼有什么用?把關(guān)鍵地方代碼復(fù)制過來就行了,看著煩

0 回復(fù) 有任何疑惑可以回復(fù)我~

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>無標(biāo)題文檔</title>

<script type="text/javascript"> ?

? ? function openWindow(){

? ? var open=confirm("open or not");

if(open==true){

var url=prompt("is this address?","http;//idcbgp.cn");

if(url !=null){

window.open(url,"_blank,",'width=600px,height=400px,menubar=no,toolbar=no');

}

else{

alert("see you again");

}

}

else{

alert("see you");

}

}

? </script>?

</head>


<body>

<input type="button" value="新窗口打開網(wǎng)站" onclick="openWindow()" />?

</body>

</html>


0 回復(fù) 有任何疑惑可以回復(fù)我~
<!DOCTYPE?html>
<html>

	<head>
		<title>?new?document?</title>
		<meta?http-equiv="Content-Type"?content="text/html;?charset=gbk"?/>
		<script?type="text/javascript">
			function?openWindows(){
			????var?open=confirm("open?or?not");
				if(open==true){
					var?url=prompt("is?this?address?","http;//idcbgp.cn");
					if(url?!=null){
						window.open(url,"_blank,",'width=600px,height=400px,menubar=no,toolbar=no');
					}else{
						alert("see?you");
						alert("see?you?again");
					}
				}
			}
		</script>
	</head>

	<body>
		<input?type="button"?value="新窗口打開網(wǎng)站"?onclick="openWindows()"?/>
	</body>

</html>

哥們,工欲善其事,必先利其器!剛學(xué)嗎?HBuilder,給你推薦個(gè)開發(fā)平臺。

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
JavaScript入門篇
  • 參與學(xué)習(xí)       741172    人
  • 解答問題       9865    個(gè)

JavaScript做為一名Web工程師的必備技術(shù),本教程讓您快速入門

進(jìn)入課程

求救!幫忙看一下吧,已經(jīng)不行了

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號