<div> style , position:relative

解决方案 »

  1.   

    用iframe~~也是用表格的阿~~用css画的好看点就行了
      

  2.   

    我们公司做的是LED,说穿了老板就是要我做那个股票交易所的那个股票显示屏,大家都看过了,这个程序怎样用JAVA做B/S实现呢.
      

  3.   

    两个iframe切换再父层控制就行了(那个父值当前焦点)
    具体进入了某一个frame后~~你的“动态网页一样从上到下逐行显出,且为固定行”就要用jscript控制格式~~动态的时间就是你帧内刷库的时间一般为2秒~具体的代码手头没有~你可以吧以上的作参考~去艘艘~
    下面的代码是实现的部分静态的~~动态的手头没有~只是说明能实现~不要太看了~<html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><script LANGUAGE="VBScript">
    <!--
    dim Cnt,j,i,k
    cnt=25redim arry1(cnt)
    redim arry2(cnt)
    redim arry3(cnt)
    redim arry4(cnt)
    redim arry5(cnt)
    redim arry6(cnt)
    redim arry7(cnt)
    redim arry8(cnt)
    redim arry9(cnt)
    redim arry10(cnt)
    redim arry11(cnt)
    redim arry12(cnt)
    redim arry13(cnt)
    redim arry14(cnt)
    '分别定义滚动子段的数组arry1(0)="<font face='Verdana' color=FFFFCC size=2>000078</font>"
    arry2(0)="<a href='z_gp_DispCompare.asp?sid=26' target='_top'><font color=FFFFFF size=2>海王生物</font></a>"
    arry3(0)="<font face='Verdana' color=FFFFCC size=2></font>"
    arry4(0)="<font face='Verdana' color=FFffcc size=2>5.71</font>"arry5(0)="<font face='Verdana' color='FF0000' size=2>5.72</font>"
    arry6(0)="<font face='Verdana' color='FF0000' size=2>5.82</font>"
    arry7(0)="<font face='Verdana' color='FF0000' size=2>0.11</font>"
    arry8(0)="<font face='Verdana' color='FF0000' size=2>1.93%</font>"
    arry9(0)="<font face='Verdana' color='FF0000' size=2>5.90</font>"
    arry10(0)="<font face='Verdana' color='00FF00' size=2>5.60</font>"
    arry11(0)="<font face='Verdana' color=FFffcc size=2>0</font>"
    arry12(0)="<font face='Verdana' color=FFFFCC size=2>0</font>"
    arry13(0)="<font face='Verdana' color=FFFFCC size=2>0股</font>"
    arry14(0)="<font face='Verdana' color='00ff00' size=2>开盘</font>"
    ............<title>股市行情</title></head>
    <body bgcolor="#ffffff" onload="toplay()">
    <table class=tableborder1 width="100%" cellspacing="1" cellpadding="3" bgcolor="#336699" align="left" valign="top">
      <tr align="center"> 
        <td colspan="11" height="3"></td>
      </tr>
      <tr align="center" bgcolor="#333366"> 
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><font color="#FFFFFF" SIZE="2">股票代码</font></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">股票名称</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">流通股</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">昨收盘</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">今开盘</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">当前价</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">涨跌</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">涨幅</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">最高价</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">最低价</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">买入</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE="2" COLOR="#FFFFFF">卖出</FONT></SPAN></th>
        <th align="center" height=25 nowrap><SPAN STYLE="font-weight: 400"><FONT SIZE=
    ......
    滚动程序
    Sub toplay()
      j=j+1
      for i=0 to 9
          aaa(i).innerhtml=show1(j-1+i)
          bbb(i).innerhtml=show2(j-1+i)
          ccc(i).innerhtml=show3(j-1+i)
          ddd(i).innerhtml=show4(j-1+i)
          eee(i).innerhtml=show5(j-1+i)
          fff(i).innerhtml=show6(j-1+i)
          ggg(i).innerhtml=show7(j-1+i)
          hhh(i).innerhtml=show8(j-1+i)
          iii(i).innerhtml=show9(j-1+i)
          jjj(i).innerhtml=show10(j-1+i)
          kkk(i).innerhtml=show11(j-1+i)
          lll(i).innerhtml=show12(j-1+i)
          mmm(i).innerhtml=show13(j-1+i)
          nnn(i).innerhtml=show14(j-1+i)
      next  if j>cnt then j=0  settimeout "toplay",2000
    end subfunction show1(num)
    .......
      

  4.   

    蛇蝎男人 你能不能说清楚一点,我不明白你的意思,我刚进这公司,以前是做OA的,对这个LED本就不明白.
      

  5.   

    给我发一份吧,
    [email protected]