热搜词
发表于 2009-3-15 11:50:36 | 显示全部楼层 |阅读模式
注意:最好先备份再做修改,或者将修改动作记录下来,以便出了问题可以迅速恢复

注意红色部分

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
回复
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|管理员之家 ( 苏ICP备2023053177号-2 )

GMT+8, 2024-12-28 11:47 , Processed in 0.166027 second(s), 22 queries .

Powered by Discuz! X3.5

Cpoyright © 2001-2024 Discuz! Team