用dw做网页,鼠标事件不起作用是怎么回事啊?

来源:百度知道 编辑:UC知道 时间:2024/09/21 13:23:18
做滚动新闻,要求鼠标放上去就停止,编码都正确都是按书上写的,可是预览时不起作用,只滚动,鼠标放上去不停;还有做显示隐藏层时也是这样,这是版本的问题吗??
<marquee align="middle" behavior="scroll" direction="up" scrollamount="1 " scrolldelay="50" onMouseOver="this.stop();" onMouseOut="this.start();"

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<marquee align="middle" behavior="scroll" direction="up" scrollamount="1 " scrolldelay="50" onMouseOver="this.stop();" onMouseOut="this.start();">11111111111111111111</marquee>
</body>
</html>