特效介绍
带预览图的flash+xml网站banner图片滚动效果,兼容IE6。
使用方法
1、在头部引入下面的代码<script type="text/javascript" src="js/flashObject.js"></script>2、在网站需要显示banner的地方插入下面的代码:
<script language="JavaScript"> var flashVars = "NSC=ijji.home_eng"; flashVars += "&NClickDomain=http://www.5imoban.net/"; flashVars += "&__flashID=brandingBoard"; flashVars += "&xmlURL=xml/5imoban.net.xml"; var obj = {} obj.wheelHandler = "flashWheelListener"; obj.flashVars = flashVars; obj.wmode = "opaque"; obj.bgColor = "#000000"; nhn.FlashObject.show("brandingBoard.swf", "brandingBoard", "950", "340", obj); </script>3、XML参数:
linkBtnURL="images/gotoSite.png" //button图片路径 URL="images/01.jpg" //大图路径 linkURL="http://www.5imoban.net/" //链接地址 URL="images/s1.jpg" //缩略图路径 <title><![CDATA[完美礼物]]></title> //标题 <description><![CDATA[为你精心构思,传递你的祝福!]]></description> //描述