關于鼠標移開事件
<script type="text/javascript">
? function message()
? {
? ? alert("點擊后進入慕課網!");
? }
</script>
<style>
? ? a{
? ? ? ? text-decoration:none;
? ? ? ? color:blue;
? ? }
? ? a:hover{
? ? ? ? color:red;
? ? }
</style>
</head>
<body>
<form onmouseout="message()">
? <a href="http://www.xianlaiwan.cn" >慕課網</a>
</form>
</body>
為什么鏈接不到慕課網去
2015-11-18
你出發的市值彈出警告框 ?并不管連接的事情啊
2016-03-17
因為 你把鼠標移開事件放在表單標簽上了 而網頁也只有標簽 所以你的代碼 瀏覽器解釋就是直接彈出警告。
2015-12-30
這一節講的是onmouseout事件,鏈接到慕課網就是用a便簽就可以啦?
2015-11-30
恩恩,懂了,謝謝