织梦怎么调用幻灯(织梦幻灯片调用教程)-冯金伟博客园

如何实现梦想编织程序下幻灯片放映的效果??

幻灯片是幻灯片,织梦是织梦,静态页面也可以实现幻灯片。

默认幻灯片代码:幻灯片宽度500,高度300,调用5张图片。

<script language='javascript'>

linkarr = new Array();

picarr = new Array();

textarr = new Array();

var swf _ width = 500

var swf _ height = 300

var files = & quot”;

var links = & quot”;

var texts = & quot”;

//在此设置调用标志

{ dede:arclist flag = & # 39;f & # 39row = & # 395'}

linkarr[[field:global . auto index/]]= & quot;[field:arcurl/]& quot;;

picarr[[field:global . auto index/]]= & quot;[field:litpic/]& quot;;

textarr[[field:global . auto index/]]= & quot;[field:title function = & # 39;html 2 text(@ me)& # 39;/]& quot;;

{/dede:arclist}

for(I = 1;我& ltpicarr.lengthi

){

if(files = = & quot;”)files = picarr[I];

else文件

= & quot;

& quot

picarr[I];

}

for(I = 1;我& ltlinkarr.lengthi

){

if(links = = & quot;”)links = linkarr[I];

else链接

= & quot;

& quot

linkarr[I];

}

for(I = 1;我& lttextarr.lengthi

){

if(texts = = & quot;”)texts = textarr[I];

else文本

= & quot;

& quot

textarr[I];

}

document . write(& # 39;& ltobject classid = & quotclsid:d 27 CDB 6 e-ae6d-11cf-96b 8-444553540000 & quot;codebase = & quothttp://FP download . macromedia . com/pub/shock wave/cabs/flash/SW flash . cab # version = 6,0,0,& quotwidth = & quot'

swf _ width

& # 39;”height = & quot'

swf _ height

& # 39;”& gt');

document . write(& # 39;& ltparam name = & quot电影& quotvalue = & quot{dede:全球。$ CFG _ temple turl/}/images/bcastr 3 . swf & quot;& gt& ltparam name = & quot质量& quotvalue = & quot高& quot& gt');

document . write(& # 39;& ltparam name = & quot菜单& quotvalue = & quot假& quot& gt& ltparam name = wmode value = & quot不透明& quot& gt');

document . write(& # 39;& ltparam name = & quotFlashVars & quotvalue = & quotbcastr _ file = & # 39

文件

& # 39;& ampbcastr _ link = & # 39

链接

& # 39;& ampbcastr _ title = & # 39

texts

& # 39;”& gt');

document . write(& # 39;& lt嵌入src = & quot{ dede:global . CFG _ templet URL/}/images/BC astr 3 . swf & quot;wmode = & quot不透明& quotFlashVars = & quotbcastr _ file = & # 39

文件

& # 39;& ampbcastr _ link = & # 39

链接

& # 39;& ampbcastr _ title = & # 39

texts

& # 39;& ampmenu = & quot假& quot质量= & quot高& quotwidth = & quot'

swf _ width

& # 39;”height = & quot'

swf _ height

& # 39;”type = & quot应用程序/x-shock wave-flash & quot;pluginspage = & quothttp://www.macromedia.com/go/getflashplayer"/>;');document . write(& # 39;& lt/object & gt;');

& lt/script & gt;