<script language='javascript'>
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=382;
var swf_height=230;
var files = "";
var links = "";
var texts = "";
//这里设置调用标记
linkarr[1] = "http://www.180ttm.com/dongtai/103014M2010.html";
picarr[1] = "/templets/new/static/images/eee5.jpg";
textarr[1] = "泉州180荣获首届“健康管理示范基地”称号";
linkarr[2] = "/plus/swt.php";
picarr[2] = "/templets/images/quanzhouyuyue.jpg";
textarr[2] = "了望未来,从TTM健康体检开始";
linkarr[3] = "/plus/swt.php";
picarr[3] = "/templets/new/static/images/eee2.jpg";
textarr[3] = "您的健康笑容是我们最大的宽慰";
linkarr[4] = "/plus/swt.php";
picarr[4] = "/templets/new/static/images/eee3.jpg";
textarr[4] = "健康,从每一天运动开始";
for(i=1;i<picarr.length;i++){
if(files=="") files = picarr[i];
else files += "|"+picarr[i];
}
for(i=1;i<linkarr.length;i++){
if(links=="") links = linkarr[i];
else links += "|"+linkarr[i];
}
for(i=1;i<textarr.length;i++){
if(texts=="") texts = textarr[i];
else texts += "|"+textarr[i];
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="../fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0/#version=6,0,0,0/default. htm" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="templets/new/static/images/bcastr3.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+'">');
document.write('<embed src="templets/new/static/images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& 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></div>
演示网址:http://www.180ttm.com/
JS高手进来 为什么以下JS调用图片轮播代码在IE8 显示不出来
我已经帮你测试过了 在IE7里面是可以播放的 但是IE8无法显示 这个是IE7\/8版本兼容性问题 不同版本浏览器对js解析过程不同 现在教你一种最简单也是最常用的方法:加入表头信息 放在所有meta最上面,希望能帮您!有上面不懂随时可以问我。兼_听则明 ...