这段JS幻灯片代码运行时为什么每换一个图CPU就100%?谢谢了,大神帮忙啊
<scripttype="text/javascript">varswf_width=230;varswf_height=185;varswf_path='/';varf...
<script type="text/javascript"> var swf_width=230; var swf_height=185; var swf_path='/'; var files=''; var texts=''; var links=''; files+='|/article/UploadPic/2009-1/20091718024528.jpg|/article/UploadPic/2009-2/200925153238738.jpg|/article/UploadPic/2009-2/200924162458509.jpg|/article/UploadPic/2009-2/2009230174126.jpg|/article/UploadPic/2008-12/20081216182458294.jpg'; texts+='|人们使用 Windows7 后的第一反应|Windows7 UAC曝出第二个安全漏洞|Windows7发布在即 系统升级倒计时|国外媒体:IE8 微软史上注定的悲剧|QQ2009Beta1将发布 传将自带显IP'; links+='|/article/sort01/info-619.html|/article/sort01/info-649.html|/article/sort01/info-630.html|/article/sort01/info-621.html|/article/sort01/info-432.html'; files=files.substr(1,files.length-1); texts=texts.substr(1,texts.length-1); links=links.substr(1,links.length-1); 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="'+ swf_width +'" height="'+ swf_height +'">'); document.write('<param name="movie" value="'+swf_path+'images/bcastr31.swf"><param name="quality" value="high">'); document.write('<param name="menu" value="false"><param name="wmode" value="opaque">'); document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&TitleBgColor=6699FF">'); document.write('<embed src="'+swf_path+'images/bcastr31.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&TitleBgColor=6699FF& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>'); </script>
展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询