POST TIME:2020-04-08 22:47
<?xml version="1.0" encoding="GBK"?>上面完成后只要在主页模板中加入如下代码即可调用
<slider adurl="">
{dede:arclist row=8 titlelen=24 type='image.' typeid='2'}
<item href="[field:arcurl/]" title="[field:title/]" imageurl="[field:litpic/]" icon="" />
{/dede:arclist}
</slider>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="723" height="250" align="middle">注意 src="ent.swf?data=xxx.xml" 这一句中的路径一定要写对。
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="ent.swf?data=xxx.xml" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#ffffff" />
<embed src="ent.swf?data=xxx.xml" quality="high" wmode="transparent" bgcolor="#ffffff" width="723" height="250" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>