<marquee onmouseover="this.stop()" onmouseout="this.start()">test</marquee>

解决方案 »

  1.   

    <marquee onmouseover="this.stop()" onmouseout="this.start()">test</marquee>
      

  2.   

    上面的可以左右方向,你可以设置方向的.
    出现手形,是给test加上连接就可以啦.
    如:
    <marquee onmouseover="this.stop()" onmouseout="this.start()"><a href="#">test</a></marquee>
      

  3.   

    <html><head><script language="JavaScript">
    function reset(){   for ( var i=0; i < document.Form1.elements.length; i++ )     { document.Form1.elements[i].options[0].selected=true }}function going(url){        parent.location=url;        reset();}
    </script><style>
    <!--
    A:link {text-decoration: none; color: #000000; font-family: 宋体}
    A:visited {text-decoration: none; color: #000000; font-family: 宋体}
    A:active {text-decoration: none; font-family: 宋体}
    A:hover {text-decoration: underline:#ffffff; color: #ff0000}
    body,table {font-size: 9pt; font-family: 宋体}
    .H1 {font-size: 9pt ; line-height:9pt; align=center}
    .ourfont {font-size: 9pt ; line-height:9pt; }
    .ourfont1 {font-size: 9pt ; line-height:9pt; }
    -->
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>会移动的文字(marquee)</title>
    </head><body topmargin="0" leftmargin="0">
    <div align="center"><center><table border="0" cellPadding="0" cellSpacing="0" width="700">
    <tbody>
      <tr>
        <td><p class="content4"><span class="font"><img border="0" height="3" src="../../soft/pix.gif" width="700"></span></td>
      </tr>
    </tbody>
    </table>
    </center></div><div align="center"><center><table border="0" cellPadding="0" cellSpacing="0" width="700">
    <tbody>
      <tr>
        <td bgColor="#3399ff" width="658"><p class="ourfont"><span class="font">&nbsp; </span><a style="text-decoration: none; color: rgb(255,255,255)" href="../os/H00705-2.htm">操作系统</a><font color="#FFFFFF"><span class="font"><span> |</span></span></font><a style="color: rgb(255,255,255); text-decoration: none" href="../image/H00705-14.htm">图像处理</a><font color="#FFFFFF"><span>|<span class="font"> </span></span></font><a style="color: rgb(255,255,255); text-decoration: none" href="../autoCAD/H00705-19.htm">辅助设计</a><span class="font"><font color="#FFFFFF"><span> | </span></font></span><a style="color: rgb(255,255,255); text-decoration: none" href="../data/H00705-18.htm">数 
        据 库</a><span class="font"><font color="#FFFFFF"><span> | </span></font></span><a style="color: rgb(255,255,255); text-decoration: none" href="H00706-1.htm">高级编程</a><span class="font"><font color="#FFFFFF"><span> | </span></font></span><a style="color: rgb(255,255,255); text-decoration: none" href="../netuse/H00705-20.htm">网络应用</a><font color="#FFFFFF"><span><span class="font"> | </span></span></font><a style="color: rgb(255,255,255); text-decoration: none" href="../webpage/H00705-21.htm">网页制作</a><font color="#FFFFFF"><span><span class="font"> |</span></span></font> <a style="color: rgb(255,255,255); text-decoration: none" href="../technic/H00706-3.htm">技术交流 
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </a><a style="color: rgb(255,255,255); text-decoration: none" href="http://202.100.13.77/clslyb/default.asp?clsid=jiaoc"><font color="#FFFFFF"><strong>过客留言</strong></font></a></td>
        <td bgColor="#3399ff" width="32"><p align="center" class="ourfont"><a href="mailto:[email protected]"><img src="../../soft/email.gif" alt="email.gif (493 字节)" border="0" WIDTH="20" HEIGHT="19"></a></td>
      </tr>
    </tbody>
    </table>
    </center></div><div align="center"><center><table border="1" cellSpacing="1" width="700" bordercolor="#3399FF">
    <tbody>
      <tr>
        <td align="left" bgColor="#FFFFFF" vAlign="top" width="700" bordercolor="#0000FF" bordercolorlight="#0000FF" bordercolordark="#0000FF"><p class="ourfont"> </p>
        <table width="85%" align="center" border="0">
    <tbody>
          <tr bgColor="#ffffff">
            <td><p align="center"><font class="title" color="#ff3333" lang="ZH-CN" size="6"><b>HTML语言教程之九:会移动的文字(marquee)</b></font></p>
            <hr>
            <p><!--################## Frame ########################--><a name="frame"></a></p>
            <h2>基本语法</h2>
            <p><!------Basic-------></p>
            <h3>&lt;marquee&gt; ... &lt;/marquee&gt;</h3>
            <dl>
              <dd><tt>&lt;marquee&gt;啦啦啦,我会移动耶!&lt;/marquee&gt; </tt></dd>
            </dl>
            <p><marquee border="0">啦啦啦,我会移动耶!</marquee></p>
            <p><!--################## Scroll ########################--><a name="scrolla"></a></p>
            <h2>文字移动属性的设置 </h2>
            <p><!------Direction-------><a name="dir"></a></p>
            <h3>方向 &lt;direction=#&gt; #=left, right</h3>
            <dl>
              <dd><tt>&lt;marquee direction=left&gt;啦啦啦,我从右向左移!&lt;/marquee&gt; 
                &lt;P&gt;<br>
                &lt;marquee direction=right&gt;啦啦啦,我从左向右移!&lt;/marquee&gt; </tt></dd>
            </dl>
            <p><marquee border="0">啦啦啦,我从右向左移!</marquee></p>
            <p><marquee direction="right" border="0">啦啦啦,我从左向右移!</marquee></p>
            <p><!------BEHAVIOR-------><a name="style"></a></p>
            <h3>方式 &lt;bihavior=#&gt; #=scroll, slide, alternate</h3>
            <dl>
              <dd><tt>&lt;marquee behavior=scroll&gt;啦啦啦,我一圈一圈绕着走!&lt;/marquee&gt; 
                &lt;P&gt;<br>
                &lt;marquee behavior=slide&gt;啦啦啦,我只走一次就歇了!&lt;/marquee&gt; 
                &lt;P&gt;<br>
                &lt;marquee behavior=alternate&gt;啦啦啦,我来回走耶!&lt;/marquee&gt; </tt></dd>
            </dl>
            <p><marquee border="0">啦啦啦,我一圈一圈绕着走!</marquee></p>
            <p><marquee behavior="slide" border="0">啦啦啦,我只走一次就歇了!</marquee></p>
            <p><marquee behavior="alternate" border="0">啦啦啦,我来回走耶!</marquee></p>
            <p><!------LOOP-------><a name="loop"></a></p>
            <h3>循环 &lt;loop=#&gt; #=次数;若未指定则循环不止(infinite)</h3>
            <dl>
              <dd><tt>&lt;marquee loop=3 width=50% behavior=scroll&gt;啦啦啦,我只走 3 趟哟!&lt;/marquee&gt; 
                &lt;P&gt;<br>
                &lt;marquee loop=3 width=50% behavior=slide&gt;啦啦啦,我只走 3 趟哟!&lt;/marquee&gt; 
                &lt;P&gt;<br>
                &lt;marquee loop=3 width=50% behavior=alternate&gt;啦啦啦,我只走 3 趟哟!&lt;/marquee&gt; 
                </tt></dd>
            </dl>
            <p><marquee loop="3" width="50%" border="0">啦啦啦,我只走 3 趟哟!</marquee></p>
            <p><marquee behavior="slide" loop="3" width="50%" border="0">啦啦啦,我只走 3 趟哟!</marquee></p>
            <p><marquee behavior="alternate" loop="3" width="50%" border="0">啦啦啦,我只走 3 趟哟!</marquee></p>
            <p><!------SCROLL AMOUNT-------><a name="scroll"></a></p>
            <h3>速度 &lt;scrollamount=#&gt;</h3>
            <dl>
              <dd><tt>&lt;marquee scrollamount=20&gt;啦啦啦,我走得好快哟!&lt;/marquee&gt; </tt></dd>
            </dl>
            <p><marquee scrollAmount="20" border="0">啦啦啦,我走得好快哟!</marquee></p>
            <p><!------SCROLL DELAY-------></p>
            <h3>延时 &lt;scrolldelay=#&gt;</h3>
            <dl>
              <dd><tt>&lt;marquee scrolldelay=500 scrollamount=100&gt;啦啦啦,我走一步,停一停!&lt;/marquee&gt; 
                </tt></dd>
            </dl>
            <p><marquee scrollAmount="100" scrollDelay="500" border="0">啦啦啦,我走一步,停一停!</marquee></p>
            <p><!--################## LAYOUT ########################--><a name="layout"></a></p>
            <h2>外观(Layout)设置</h2>
            <p><!------ALign-------><a name="align"></a></p>
            <h3>对齐方式(Align) &lt;align=#&gt; #=top, middle, bottom</h3>
      

  4.   

    <marquee onmouseover="this.stop()" onmouseout="this.start()" direction=up style="left:0;top:0;height=100; width=300;CURSOR: hand">
    This is a test.
    <p>中华人民共和国万岁
    <p>让一部分先富起来
    <p>先富起来的帮助后富起来的
    <p>最终达到共同富裕
    <p>.........
    </marquee>