如何去掉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="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="{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="{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="https://www.macromedia.com/go/getflashplayer" />');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="https://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="{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="{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="https://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');</script>
参数可改参数参照下面高级设置:默认参数字符串0xffffff:文字颜色| 2:文字位置| 0xff6600:文字背景颜色| 60:文字背景透明度| 0xffffff:按键文字颜色| 0xff6600:按键默认颜色| 0x000033:按键当前颜色| 8:自动播放时间(秒)| 2:图片过渡效果| 1:是否显示按钮| _blank:打开新窗口颜色都以0x开始16进制数字表示文字颜色:题目文字的颜色文字位置:0表示题目文字在顶端,1表示文字在底部,2表示文字在顶端文字背景透明度:0-100值,0表示全部透明按键文字颜色:按键数字颜色按键默认颜色:按键默认的颜色按键当前颜色:当前图片按键颜色自动播放时间:单位是秒图片过渡效果:0,表示亮度过渡,1表示透明度过渡,2表示模糊过渡,3表示运动模糊过渡是否显示按钮:0,表示隐藏按键部分,更适合做广告挑轮换打开窗口:_blank表示新窗口打开。_self表示在当前窗口打开