灰儿 发表于 2009-3-15 11:50:36

dede幻灯片在IE下不显示和标题在下方显示简单修改技巧

注意:最好先备份再做修改,或者将修改动作记录下来,以便出了问题可以迅速恢复

注意红色部分

1、幻灯片显示,在FF下正常,在IE下不显示
修改方法:
在/templets/default/index.html中找到flash脚本
document.write('<param name="movie" value="{dede:global.$cfg_templeturl/}/images/bcastr3.swf">
修改为document.write('<param name="movie" value="{dede:global.cfg_templeturl/}/images/bcastr3.swf">

2、幻灯片标题在下方显示
在index.html找到flash代码,找到如下代码
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="{dede:global.cfg_templeturl/}/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>');
修改为:
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config=0xffffff|1|0x0066ff|60|0xffffff|0x0066ff|0x000033|3|2|1|_blank">');
document.write('<embed src="{dede:global.cfg_templeturl/}/images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config=0xffffff|1|0x0066ff|60|0xffffff|0x0066ff|0x000033|3|2|1|_blank & 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>');
页: [1]
查看完整版本: dede幻灯片在IE下不显示和标题在下方显示简单修改技巧