<SCRIPT language=JavaScript>var ver = 3
bVer = parseInt(navigator.appVersion);
if(bVer >= 4) ver = 4var ns = navigator.appName == "Netscape";
var ie = navigator.appName == "MSIE";var pix = 3; 
var rate = 12; 
var ImgWidth = 905; var time = 1000/rate;
var again = - ImgWidthfunction tick() {if (ver ==3) returnif (ns){
document.Layer1.offset(-pix,0);document.Layer2.offset(-pix,0);if (document.Layer1.left <= again) document.Layer1.left = ImgWidth;if (document.Layer2.left <= again) document.Layer2.left = ImgWidth;
}
else {
newpix = document.all["Layer1"].style.pixelLeft - pix;
newpix2 = document.all["Layer2"].style.pixelLeft - pix;document.all["Layer1"].style.pixelLeft = newpix;document.all["Layer2"].style.pixelLeft = newpix2;if (document.all["Layer1"].style.pixelLeft <= again) document.all["Layer1"].style.pixelLeft = ImgWidth;if (document.all["Layer2"].style.pixelLeft <= again) document.all["Layer2"].style.pixelLeft = ImgWidth;
} setTimeout('tick()', time);
}</SCRIPT><SCRIPT language=JavaScript><!--function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=80
}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (window.highlighting)
clearInterval(highlighting)
}
</SCRIPT>

解决方案 »

  1.   

    接上
    <TABLE cellSpacing=0 cellPadding=0 columns="0">
      <TBODY>
      <TR>
        <TD><SPAN id=Layer1 
          style="Z-INDEX: 2; LEFT: 0px; WIDTH: 905px; POSITION: absolute; TOP: 0px; HEIGHT: 80px">
          <TABLE cellSpacing=0 cellPadding=0>
            <TBODY>
            <TR>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=4" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达丰田汽车销售服务中心 hspace=4 src="index_buick.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=6" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=帕萨特 hspace=4 src="index_honda.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=8" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达别克汽车销售服务中心 hspace=4 src="index_audi.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=20" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达别克汽车销售服务中心 hspace=4 
                src="index_brilliance.gif" width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=10" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达本田汽车销售服务中心 hspace=4 src="index_bora.gif" 
                width=173 border=0></A></TD></TR></TBODY></TABLE></SPAN><SPAN id=Layer2 
          style="Z-INDEX: 1; LEFT: 908px; WIDTH: 905px; POSITION: absolute; TOP: -1px; HEIGHT: 80px">
          <TABLE cellSpacing=0 cellPadding=0>
            <TBODY>
            <TR>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=18" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达奥迪汽车销售服务中心 hspace=4 src="index_nissa.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=14" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达宝来汽车销售服务中心 hspace=4 
                src="index_toyota.gif" width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=16" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达菲亚特汽车销售服务中心 hspace=4 src="index_ford.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=12" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt=永达菲亚特汽车销售服务中心 hspace=4 src="index_fiat.gif" 
                width=173 border=0></A></TD>
              <TD><A 
                href="index.php?gstype=pinpaidian1&amp;viewid=19&amp;gsname=%B0%CD%CA%BF%D3%C0%B4%EF%C9%CF%BA%A3%B4%F3%D6%DA%C6%FB%B3%B5%CF%FA%CA%DB%D3%D0%CF%DE%B9%AB%CB%BE" 
                target=_blank><IMG onmouseover=high(this) 
                style="FILTER: alpha(opacity=80)  width=" onmouseout=low(this) 
                height=89 alt="永达尼桑汽车销售服务中心  " hspace=4 
                src="index_bsyd.gif" width=173 
          border=0></A></TD></TR></TBODY></TABLE></SPAN></TD></TR></TBODY></TABLE>
      

  2.   

    模拟连续marquee
    www.adr.gov.cn/6p/try.asp
    下载:www.adr.gov.cn/download/6p.rar