织梦dede幻灯片修改方法总结-去掉顶部文字等

如何去掉dede幻灯片顶部的文字-DedeCMS教程
方法去掉该段代码就可以了:textarr[[field:global.autoindex/]] = "[field:title function='html2text(@me)'/]";

==============================================================================

dede firefox里 flash幻灯片的标题显示不全的解决办法

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value=http://www.dede58.com/"{dede:global name='cfg_templeturl'/}/img/slide.swf">');
document.write('<param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('<embed src=http://www.dede58.com/"{dede:global name='cfg_templeturl'/}/img/slide.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="" />');
document.write('</object>');

红字部分的 focus_height ,改为swf_height,即可

==================================================================================

dede官方幻灯片标题在下面和幻灯片颜色修改

<!-- size: 280px * 192px -->
<script language='javascript'>
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=280;
var swf_height=192;
var files = "";
var links = "";
var texts = "";
//这里设置调用标记
{dede:arclist flag='f' row='5'}
linkarr[[field:global.autoindex/]] = "[field:arcurl/]";
picarr[[field:global.autoindex/]]   = "[field:litpic/]";
textarr[[field:global.autoindex/]] = "[field:title function='html2text(@me)'/]";
{/dede:arclist}
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="#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value=http://www.dede58.com/"{dede:global.$cfg_templeturl/}/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+'&bcastr_title='+texts+'&bcastr_config=0xffffff|1|0x0066ff|60|0xffffff|0x0066ff|0x000033|3|2|1|_blank">');
document.write('<embed src=http://www.dede58.com/"{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="" />'); document.write('</object>');
</script>

参数可改

参数参照下面

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/42d0780bc7bb50cbb733452f15c6aa57.html