dedecms5.3 flash幻灯片(标题在底部)代码-仿admin5_dedecms教程-查字典教程网
dedecms5.3 flash幻灯片(标题在底部)代码-仿admin5
dedecms5.3 flash幻灯片(标题在底部)代码-仿admin5
发布时间:2016-12-26 来源:查字典编辑
摘要:关键字描述:代码底部标题" document.write<>用下面的代码真接替换原来的幻灯片代码就可以了,有什么问题...

关键字描述:代码 底部 标题 "   document.write < >

用下面的代码真接替换原来的幻灯片代码就可以了,有什么问题请在下面跟贴.

演示:http://www.CnITonline.com

Copy code <script language='javascript'>

linkarr = new Array();

picarr = new Array();

textarr = new Array();

var swf_width=280;

var swf_height=210;

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" ');

document.write('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');

document.write('width="' swf_width '" height="' swf_height '">');

document.write('<param name="movie" value="/images/2008a/doflash.swf"><param name="quality" value="high">');

document.write('<param name="menu" value="false"><param name=wmode value="opaque">');

document.write('<param name="FlashVars" value="TitleBgPosition=1&bcastr_file=' files '&bcastr_link=' links '&bcastr_title=' texts '">');

document.write('<embed src="/images/2008a/doflash.swf" wmode="opaque" ');

document.write('FlashVars="TitleBgPosition=1&bcastr_file=' files '&bcastr_link=' links '&bcastr_title=' texts '& ');

document.write('menu="false" quality="high" width="' swf_width '" height="' swf_height '" type="application/x-shockwave-flash" ');

document.write('pluginspage="http://www.macromedia.com/go/getflashplayer" />');

document.write('</object>');

</script>

相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  • 最新dedecms学习
    热门dedecms学习
    CMS教程子分类