IE显示正常,火狐不显示,帮我看看哪里写的不标准,最好帮我改好,谢谢!
<table width="368" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="219">
<script language="javascript" type="text/javascript">
imgUrl1="images/ad/1/01.jpg";
imgtext1=""
imgLink1=escape("http://www.23qcw.com/As_ascx/AS_XCFB/2009-11-23/NEWS_2009112393756.html");
imgUrl2="images/ad/1/02.jpg";
imgtext2=""
imgLink2=escape("http://www.23qcw.com/As_ascx/AS_CX/2009-11-11/NEWS_2009111185818.html");
imgUrl3="images/ad/1/03.jpg";
imgtext3=""
imgLink3=escape("http://www.23qcw.com/As_ascx/AS_CX/2009-11-27/NEWS_20091127105334.html");
imgUrl4="images/ad/1/04.jpg";
imgtext4=""
imgLink4=escape("http://www.23qcw.com/As_ascx/AS_CX/2009-12-1/NEWS_200912182334.html");
imgUrl5="images/ad/1/05.jpg";
imgtext5=""
imgLink5=escape("http://www.23qcw.com/As_sjhd/AS_JJCX/2009-11-17/SJHD_2009111791308.html"); var focus_width=368
 var focus_height=219
 var text_height=4
 var swf_height = focus_height+text_height
 
 var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
 var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
 var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
 
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/ad/1/focus1.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('</object>');
 </script> </td>
    <td width="279"></td></tr>
  </table>

解决方案 »

  1.   

    这个是flash啊
    或者试试这个图片变换
      

  2.   

    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 输出的是 object标签 这个是IE下才认的
    FF下FLASH要用 <embed 标签 你去网上随便找下 支持IE FF的FLASH标签写法 按样子改下就可以了
      

  3.   

    给个实例,对照一下,兼容火狐<object height="490" width="980" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="/wcsstore/ConsumerDirectStorefrontAssetStore/images/club/banner.swf" name="movie">
    <param value="high" name="quality">
    <param value="transparent" name="wmode">
    <embed height="490" width="980" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="/wcsstore/ConsumerDirectStorefrontAssetStore/images/club/banner.swf"> </object>