dedecms幻灯片代码,完美性!!
发布:smiling 来源: PHP粉丝网 添加日期:2014-11-13 09:53:57 浏览: 评论:0
- <script language='javascript'>
- linkarr = new Array();
- picarr = new Array();
- textarr = new Array();
- var swf_width=950;
- var swf_height=240;
- //文字颜色|文字位置|文字背景颜色|文字背景透明度|按键文字颜色|按键默认颜色|按键当前颜色|自动播放时间|图片过渡效果|是否显示按钮|打开方式
- var configtg='xffffff||0xffffff|0|0xdddddd|0xC5DDBC|0x000033|5|3|1|_blank';
- var files = "";
- var links = "";
- var texts = "";
- //这里设置调用标记
- {dede:arclist typeid='9' 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];
- }
- document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://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="/templets/default/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='+configtg+'">');//开源软件:phpfensi.com
- document.write('<embed src="/templets/default/images/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'&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>');
- </script>
Tags: dedecms幻灯片代码 dede幻灯片
相关文章
- ·dede幻灯片背景透明度的设置(2014-11-07)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)