当前位置: 代码迷 >> JavaScript >> 非常奇怪的有关问题
  详细解决方案

非常奇怪的有关问题

热度:54   发布时间:2012-03-30 17:32:10.0
非常奇怪的问题
把下面的代码存为.htm直接打开运行正常
当用http://localhost/XXX.htm运行也正常
但传到网上或在本地用ip访问却不正常
<script> var   Groupcount2;Groupcount2=0;var   Group2   =   new   Array();var   refurbishtime2   =   10*1000;   var   theTimer2;   var   counts2=0;document.write( " <table   width=914   border=0   cellpadding=0   cellspacing=0> <tr> <td   height=10> </td> </tr> <tr> <td   valign=top> <table   width=100%   border=0   cellspacing=0   cellpadding=0> <tr   align=center> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref0 '   target=_blank> <img   id=   'newimgInit0 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref0 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv0 ',style= 'border:0px; '> A </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref1 '   target=_blank> <img   id=   'newimgInit1 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref1 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv1 ',style= 'border:0px; '> B </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref2 '   target=_blank> <img   id=   'newimgInit2 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref2 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv2 ',style= 'border:0px; '> C </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref3 '   target=_blank> <img   id=   'newimgInit3 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref3 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv3 ',style= 'border:0px; '> C </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref4 '   target=_blank> <img   id=   'newimgInit4 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref4 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv4 ',style= 'border:0px; '> E </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref5 '   target=_blank> <img   id=   'newimgInit5 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref5 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv5 ',style= 'border:0px; '> F </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref6 '   target=_blank> <img   id=   'newimgInit6 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref6 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv6 ',style= 'border:0px; '> G </div> </a> </td> <td   width=12%   valign=top> <div   class=addimg> <a   href=#   id= 'newhref7 '   target=_blank> <img   id=   'newimgInit7 '   style= 'FILTER:   revealTrans(duration=1,transition=23); '   src=#   width=75   height=75   border=0> </a> </A> </DIV> <a   class=textorg   href=#   id= 'newBloghref7 '   target=_blank   class= 'id '> <div   id= 'newBlogdiv7 ',style= 'border:0px; '> H </div> </a> </td> </tr> </table> </td> </tr> </table> ")
  相关解决方案