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