插件下载地址:http://pan.baidu.com/s/1hqGHSSO
把xml文件上传至DEDE程序的/data/module目录下
然后登录后台,找到模块 然的点击"模块管理",安装新插件找到刚上传的幻灯管理插件,点击安装就行了,安装完成后会在辅助插件那生成菜单链接,不是IE的用户需要刷新才能找到刚安装的插件
typeid 调用的幻灯分组id
row 调用的行数
url 链接地址
pic 图片地址
title 标题介绍
织梦DEDECMS万能幻灯片插件调用方法:
1 | {dede:myppt typeid= '1' row= '3' } |
2 | <li><a href= "[field:url/]" target= "_blank" ><img alt= "[field:title function='html2text(@me)'/]" width= "978" height= "375" src= "[field:pic/]" /></a></li> |
|
织梦DEDECMS万能幻灯片插件调用实例:
01 | <script language= 'javascript' > |
07 | //文字颜色|文字位置|文字背景颜色|文字背景透明度|按键文字颜色|按键默认颜色|按键当前颜色|自动播放时间|图片过渡效果|是 |
10 | var configtg= '0xffffff|0|0x3FA61F|5|0xffffff|0xC5DDBC|0x000033|2|3|1|_blank' ; |
15 | {dede:myppt typeid= '1' row= '3' } |
16 | linkarr[[field:global.autoindex/]] = "[field:url/]" ; |
17 | picarr[[field:global.autoindex/]] = "[field:pic/]" ; |
18 | textarr[[field:global.autoindex/]] = "[field:title function='html2text(@me)'/]" ; |
21 | for (i=1;i<picarr.length;i++){ |
22 | if (files== "" ) files = picarr[i]; |
23 | else files += "|" +picarr[i]; |
25 | for (i=1;i<linkarr.length;i++){ |
26 | if (links== "" ) links = linkarr[i]; |
27 | else links += "|" +linkarr[i]; |
29 | for (i=1;i<textarr.length;i++){ |
30 | if (texts== "" ) texts = textarr[i]; |
31 | else texts += "|" +textarr[i]; |
33 | document.write('<object classid= "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" |
37 | swf_width + '" height="' + swf_height + '">' ); |
38 | document.write('<param name= "movie" value= "{dede:global.cfg_templeturl /}/default/images/bcastr3.swf" ><param |
40 | name= "quality" value= "high" >'); |
41 | document.write( '<param name="menu" value="false"><param name=wmode value="opaque">' ); |
42 | document.write('<param name= "FlashVars" |
44 | value= "bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'" >'); |
45 | document.write('<embed src= "{dede:global.cfg_templeturl /}/default/images/bcastr3.swf" wmode= "opaque" |
47 | FlashVars= "bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'&bcastr_config='+configtg+'&menu=" fals |
49 | e " quality=" high " width=" '+ swf_width +' " height=" '+ swf_height +' " type=" application/x-shockwave-flash" |
|
|