scrollAreal.direction='up';
scrollAreal.direction='down';

解决方案 »

  1.   

    当down的时候,滚动区域为何会向下去很多。
      

  2.   

    <table border="1" cellpadding="0" cellspacing="0" width="100%">
            <tr> 
              <td rowspan="3" align="right"><MARQUEE id=scrollArea1 scrollAmount=1 scrollDelay=60 direction=up width="90%" border="0" height="200">
                <table width="100%" align=center border=0 height="100">
                  <% do while not down_ors.eof%>
                  <tr> 
                    <td width="250"><%=down_ors("downid").value %>、 <a href="<%=down_ors("downurl").value %>" target="_blank" title="<%=down_ors("downtime").value%>"><%=down_ors("downname").value %></a></td>
                  </tr>
                  <% down_ors.movenext
      loop  %>
                </table>
                </MARQUEE></td>
              <td align="right" width="12" height="12"><img src="images/scroll-up.gif"   onMouseOver="scrollArea1.direction='up';scrollArea1.start()" onMouseOut="scrollArea1.stop()"></td>
            </tr>
            <tr> 
              <td height="160">&nbsp;</td>
            </tr>
            <tr> 
              <td align="right" width="12" height="12" ><img src="images/scroll-dn.gif"  onMouseOver="scrollArea1.direction='down';scrollArea1.start()" onMouseOut="scrollArea1.stop()"></td>
            </tr>
          </table>
    看看我这段代码有什么问题。当点down的时候,滚动区域为何会突然向下去很多。
      

  3.   

    <marquee behavior=scroll direction=up id=scrollbbs 
    onMouseOut=this.scrollAmount=4; 
    onMouseOver="this.direction='up';this.scrollAmount=0;" scrollamount=4 
    style="HEIGHT: 410; LEFT: -1px; POSITION: absolute; TOP: 1px; WIDTH: 130px"> 
      <table width="100%" border="0" bordercolor="#000000">
        <tr> 
          <td><img src="pic/s_calintz.jpg" width="120" height="120" style="filter:alpha(opacity=80);cursor:hand;" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_felicia.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_ferenan.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_boy_calintz.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_ladrinne.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_juclesia.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
        <tr> 
          <td><a href="#"><img src="pic/s_estell.jpg" width="120" height="120" style="filter:alpha(opacity=80)" onMouseOver="fade_out(this);" onMouseOut="lightback(this);" border="0"></a></td>
        </tr>
      </table>
      </marquee></div>
    <div id="Layer3" style="position:absolute; left:553px; top:30px; width:19px; height:25px; z-index:4"><img onMouseOver="document.all.scrollbbs.direction='up';document.all.scrollbbs.scrollAmount=4; document.all.scrollbbs.behavior='scroll';"style="CURSOR: hand" src="pic/up.gif" width="20" height="30"></div>
    <div id="Layer4" style="position:absolute; left:550px; top:407px; width:18px; height:27px; z-index:5"><img onMouseOver="document.all.scrollbbs.direction='down';document.all.scrollbbs.scrollAmount=4;document.all.scrollbbs.behavior='scroll';" style="CURSOR: hand" src="pic/down.gif" width="20" height="30"></div>============以前写的
      

  4.   

    大家看看这一页上的就知道了。在第一个滚动栏里,一碰down就下去很多了。
    http://chinabusinessguide.net/csweb/good.asp