为什么asp 代码不能运行?? (希望效果图片切换)
dwyao 2011-10-26 05:39:32 我把如下代码 放在 asp 代码中为什么,效果不能出来 (希望效果图片切换)
<TD vAlign=bottom colSpan=2 height=140>
<script type="text/javascript">
imgUrl1="images/1.jpg";
imgLink1=escape("");
imgUrl2="images/2.jpg";
imgLink2=escape("");
imgUrl3="images/3.jpg";
imgLink3=escape("");
imgUrl4="images/4.jpg";
imgLink4=escape("");
var focus_width=240
var focus_height=140
var text_height=0
var swf_height = focus_height
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4
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="shangtong.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+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('</object>');
</script></TD>