亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

這段代碼哪里有問題呢?

<!DOCTYPE HTML>

<html>

<head>

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

<title>鼠標移開事件 </title>

<script type="text/javascript">

? function message(){

? ? alert("不要移開,點擊后進行慕課網!");?

? ? }

? ??

? function newpage(){

? ? var newlinl=window.open("http://www.hao123.com" "_blank" "width=500px,height=400px")

? ? }

</script>

</head>

<body>

? <input type="button" value="hao123" title="點擊進入hao123" ? onclick="newpage()">

? <form>

? ? <br />

? ? <a href="http://www.xianlaiwan.cn" onmouseout="message()">點擊我</a>

? </form>

</body>

</html>



正在回答

2 回答

?function?newpage(){
????var?newlinl=window.open??????("http://www.hao123.com",?"_blank",?"width=500,height=400")
????}
????
?width=500px,height=400px???//寬高設置錯誤

0 回復 有任何疑惑可以回復我~
#1

L浪浪浪浪浪 提問者

非常感謝!
2016-07-05 回復 有任何疑惑可以回復我~

<title>鼠標移開事件 </title>

<script type="text/javascript">

? function message(){

? ? alert("不要移開,點擊后進行慕課網!");?

? ? }?

? function newpage(){

? ? ?window.open('http://www.hao123.com' , '_blank' , 'height=500,width=400');

}

</script>

</head>

<body>


<input type="button" value="hao123" onclick="newpage()"/>

?<form>

? ? <br />

? ? <a href="http://www.xianlaiwan.cn" onmouseout="message()">點擊我</a>

? </form>

</body>

</html>



0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

這段代碼哪里有問題呢?

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號