描述:代码底部的标题。写文档。lt&。把原来的ppt代码换成gt底部的代码就行了。如果你有任何问题,请贴在下面。试演:http://www.cnitonline.com复制代码
用下边的代码真接更换原先的ppt代码就可以了,有哪些难题请在下面跟贴.
演试:http://www.CnITonline.com
Copycode <scriptlanguage='javascript'>
linkarr=newArray();
picarr=newArray();
textarr=newArray();
varswf_width=280;
varswf_height=210;
varfiles="";
varlinks="";
vartexts="";
//这儿设定启用标识
{dede:arclistflag='f'row='5'}
linkarr[[field:global.autoindex/]]="[field:arcurl/]";
picarr[[field:global.autoindex/]]="[field:litpic/]";
textarr[[field:global.autoindex/]]="[field:titlefunction='html2text(@me)'/]";
{/dede:arclist}
for(i=1;i<picarr.length;i){
if(files=="")files=picarr[i];
elsefiles="|"picarr[i];
}
for(i=1;i<linkarr.length;i){
if(links=="")links=linkarr[i];
elselinks="|"linkarr[i];
}
for(i=1;i<textarr.length;i){
if(texts=="")texts=textarr[i];
elsetexts="|"textarr[i];
}
document.write('<objectclassid="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('<paramname="movie"value="/images/2008a/doflash.swf"><paramname="quality"value="high">');
document.write('<paramname="menu"value="false"><paramname=wmodevalue="opaque">');
document.write('<paramname="FlashVars"value="TitleBgPosition=1&bcastr_file='files'&bcastr_link='links'&bcastr_title='texts'">');
document.write('<embedsrc="/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>
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)