特效介绍
XML+flash 3D立体效果切换的8屏图片轮播幻灯片。
使用方法
1、在head区域放入下面的代码:<script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> var flashvars = {}; flashvars.xml_file = "list.xml"; var params = {}; params.wmode = "transparent"; var attributes = {}; attributes.id = "slider"; swfobject.embedSWF("slider.swf", "flash_slider", "900", "330", "9.0.0", false, flashvars, params, attributes); </script>2、在需要放幻灯的地方加入下面的代码
<div id="flash_slider"> <br /><br /><a href="http://www.5imoban.net" target="_blank">Flash XML Bar Slider</a><br /><br /> <a href="http://www.adobe.com/go/getflashplayer"> <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> </a><br /><br /> </div>3、在list.xml里面配置图片路径、链接地址以及每张图片过度的效果