日期:2014-05-19  浏览次数:20404 次

怎么让滚动的文字在鼠标经过的时候停下来?
下面是滚动的通告,可是它不会在鼠标经过的时候停下来,要怎样改才能做到呢?谢谢大家

  <DIV   style= "COLOR:   #000000;   HEIGHT:   10px "> <FONT   size=2>
<MARQUEE   style= "WIDTH:   300px;   HEIGHT:   80px "   scrollAmount=1   scrollDelay=1   direction=up   width=300   height=80>
<P   align=left>
                                <table   width= "200 "   border= "0 "   align= "center ">
                                <tr>
                                    <td> 滚动的文字 </td>
                                </tr>
                                      </table>
                            </P> </FONT> </MARQUEE> </FONT> </DIV>

------解决方案--------------------
onmouseover = "this.stop() "
onmouseout = "this.start() ";
------解决方案--------------------
MARQUEE加上:id=scrollArea
onmouseover=scrollArea.stop() onmouseout=scrollArea.start()
------解决方案--------------------
onmouseover事件
------解决方案--------------------


<MARQUEE style= "WIDTH: 300px; HEIGHT: 80px " onmouseover = "this.stop() "
onmouseout = "this.start() " scrollAmount=1 scrollDelay=1 direction=up width=300 height=80>
------解决方案--------------------
<MARQUEE style= "WIDTH: 300px; HEIGHT: 80px " scrollAmount=1 scrollDelay=1 direction=up width=300 onmouseover=this.stop() onmouseout=this.start() height=80>
------解决方案--------------------
onmouseover= "stop() " onmouseout= "start() "
------解决方案--------------------
<MARQUEE style= "WIDTH: 300px; HEIGHT: 80px " scrollAmount=1 scrollDelay=1 direction=up width=300 onmouseover=this.stop() onmouseout=this.start() height=80>

------解决方案--------------------
<TABLE width= "190 " height= "100 " border=0 cellPadding=0 cellSpacing=0 class=boder2>
<TBODY>
<TR>
<TD width= "181 " height=27 class=title2 bgcolor= "#6F9DC4 "> <IMG height=12 hspace=10 src= "../Images/arrow2.gif " width=14 align=absMiddle> 网站公告 </TD>
</TR>
<TR>
<TD vAlign=top height=100 width= "181 "> <DIV class=content>
<MARQUEE id=scrollarea onmouseover=this.stop();
onmouseout=this.start(); scrollAmount=2 scrollDelay=200 direction=up
width=180
height=100>
本站所有文章或资料除注明为本站自创编辑整理外,均为各方收集或网友推荐所得。其中摘录的内容以共享、研究为目的,不存在任何商业考虑。 <BR>