有关使用静态功能,请参见:https://discuz.dismall.com/thread-829947-1-2.html
幻灯片 支持生成静态 以前FLASH文件在根目录images文件夹下 这次吧这个文件换到本风格images文件夹下
测试过6.0 在标题有颜色时候 会显示出颜色代码~~ 而挤掉标题复制内容到剪贴板代码:
<!--图文资讯幻灯片-->
<!--{block name="spacenews" parameter="haveattach/1/showattach/1/order/i.dateline DESC/limit/0,9/cachetime/11930/cachename/picnews/tpl/data"}-->
<script type="text/javascript">
<!--{eval $picarr=$linkarr=$textarr=array();}-->
<!--{loop $_SBLOCK['picnews'] $key $value}-->
<!--{eval $picarr[]=$value[a_thumbpath];}-->
<!--{eval $linkarr[]=$value[url];}-->
<!--{eval $textarr[]=addslashes($value[subject]);}-->
<!--{/loop}-->
<!--{eval $pics=implode('|', $picarr);}-->
<!--{eval $links=implode('|', $linkarr);}-->
<!--{eval $texts=implode('|', $textarr);}-->
var swf_width=636
var swf_height=274
var files='{$pics}'
var links='{$links}'
var texts='{$texts}'
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="{S_URL}/templates/$_SCONFIG[template]/images/flsh2.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+'">');
document.write('<embed src="{S_URL}/templates/$_SCONFIG[template]/images/flsh2.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& 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> |