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

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

為什么光標移至按鈕上時沒有變成手型

<!DOCTYPE html>

<html>

?<head>

? <title> new document </title> ?

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

? <script type="text/javascript">

? ? function openWindow(){

? ? ? ? var mychar=confirm("Open the window?");

? ? ? ? if(mychar==true){

? ? ? ? ? ? var mywindow=prompt("Please write the website:","http://www.ipsousou.com/");

? ? ? ? ? ? if(mywindow!=null){

? ? ? ? ? ? window.open(mywindow,'_blank','width=400,height=500,menubar=no,toolbar=no');

? ? ? ? ? ? }

? ? ? ? }

? ? }

? </script>?

?</head>?

?<body>?

?<input name="button" type="button" onClick="openWindow()" value="新窗口打開網站"/>?

?</body>

</html>


正在回答

3 回答

加入style="cursor:pointer"? ??

<input name="button" type="button" onClick="openWindow()" value="新窗口打開網站" style="cursor:pointer"? ??/>?

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

weixin_慕移動4434633 提問者

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

<input name="button" type="button" onClick="openWindow()" value="新窗口打開網站"style="cursor:pointer"/> ?最后加一句這個

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

weixin_慕移動4434633 提問者

謝謝!
2016-11-20 回復 有任何疑惑可以回復我~
#2

格瑞普3941210 回復 weixin_慕移動4434633 提問者

不客氣
2016-11-21 回復 有任何疑惑可以回復我~

<input style="cursor:pointer;" name="button" type="button" onClick="openWindow()" value="新窗口打開網站"/>?

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

weixin_慕移動4434633 提問者

謝謝!
2016-11-20 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

為什么光標移至按鈕上時沒有變成手型

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

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

幫助反饋 APP下載

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

公眾號

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