首页 > 特效插件 > 滚动轮播 >  仿多玩首页flash焦点图轮播特效正文

仿多玩首页flash焦点图轮播特效

特效介绍
仿多玩首页flash焦点图轮播特效
仿多玩首页flash焦点图轮播特效
使用方法
1、在body里面直接加入下面的代码:
<SCRIPT type=text/javascript>
    var Arr_big = new Array();
    var Arr_small = new Array();
    var Arr_link = new Array();
    var Arr_title = new Array();
    var Arr_context = new Array();
    Arr_big[0] ='images/01.jpg';            //大图地址480x200
    Arr_small[0] ='';                    //小图地址75x50
    Arr_link[0] ='http://www.5imoban.net/';        //链接地址
    Arr_title[0] ='模板网';                //标题
    Arr_context[0] ='这里是描述';            //链接地址
    Arr_big[1] ='images/02.jpg';
    Arr_small[1] ='';
    Arr_link[1] ='http://www.5imoban.net/';
    Arr_big[2] ='images/03.jpg';
    Arr_small[2] ='';
    Arr_link[2] ='http://www.5imoban.net/';
    Arr_big[3] ='images/04.jpg';
    Arr_small[3] ='';
    Arr_link[3] ='http://www.5imoban.net/';
    Arr_big[4] ='images/05.jpg';
    Arr_small[4] ='';
    Arr_link[4] ='http://www.5imoban.net/';
    Arr_big[5] ='images/06.jpg';
    Arr_small[5] ='';
    Arr_link[5] ='http://www.5imoban.net/';
    var bigpics =Arr_big.join("|");
    var smallpics   =Arr_small.join("|");
    var links   =Arr_link.join("|");
    var titles  =Arr_title.join("|");
    var context =Arr_context.join("|");
    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="480" height="200">');
    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="flash.swf"><param name="quality" value="high">');
    document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
    document.write('<param name="FlashVars" value="pics='+bigpics+'&links='+links+'">');
    document.write('<embed src="flash.swf" wmode="opaque" FlashVars="pics='+bigpics+'&links='+links+'" menu="false" quality="high" width="480" height="200" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('<\/object>');
</SCRIPT>
2、增加和删减图片数量的方法:增加或删除下面类似代码即可,要保证“[]”里面的数字是连续的。
    Arr_big[1] ='images/02.jpg';
    Arr_small[1] ='';
    Arr_link[1] ='http://www.5imoban.net/';