用ECMS实现,就二个字“简单”。 制作模板标签,如下
页面模板内容 ---------------------------------------------------------------------
<SCRIPT type=text/javascript> var varText = "" function addInfo(title,photourl,link){ if(varText!=""){ varText+="|||"; } varText+=title+"|_|"+photourl+"|_|"+link; } [!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--]
// document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="542" height="225" id="01" align="left">') document.write('<param name="allowScriptAccess" value="sameDomain" />') document.write('<param name="movie" value="http://www.cmsmb.cn/demo/images/sohu.swf?info='+varText+'" />') document.write('<param name="quality" value="high" />') document.write('<param name="bgcolor" value="#ffffff" /><param name="wmode" value="transparent" />') document.write('<embed src="http://www.cmsmb.cn/demo/images/sohu.swf" quality="high" bgcolor="#ffffff" width="542" height="225" name="01" align="left" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />') document.write('</object>') </SCRIPT>
列表内容模板 (list.var) ---------------------------------------------------------------------
addInfo("[!--title--]","[!--titlepic--]","[!--titleurl--]");
FLASH文件见附件 修改其中的FLASH地址为自己的。用万能标签调用,最多调用5个有效
演示:http://www.cmsmb.cn/demo/flash.html
|