文件名称:仿新浪flash翻牌广告(修正版)插件 for Discuz!7.0
文件大小:10KB
文件格式:RAR
更新时间:2024-05-12 20:29:58
程序插件 Discuz!插件
DZ廣告位代碼[removed][removed]<!-- Flash翻牌 开始 -->
输入网址或你要的文字
[removed]
<!--var fp_data = new Array();// AE维护部分 开始//位置1
fp_data.push(["ad/hx.jpg","http://www.jy391.com/thread-17897-1-1.html"]); //图片路径,广告网址
fp_data.push(["ad/qq.jpg","http://www.jy391.com/thread-21995-1-1.html"]);//位置2
fp_data.push(["ad/ty.jpg","http://www.jy391.com/thread-17709-1-1.html"]);
fp_data.push(["ad/qq.jpg","http://www.jy391.com/thread-21995-1-1.html"]);//位置3
fp_data.push(["ad/boss.jpg","http://www.jy391.com/thread-19097-1-1.html"]);
fp_data.push(["ad/qq.jpg","http://www.jy391.com/thread-21995-1-1.html"]);//位置4
fp_data.push(["ad/sx.jpg","http://www.jy391.com/thread-18926-1-1.html"]);
fp_data.push(["ad/qq.jpg","http://www.jy391.com/thread-21995-1-1.html"]);
//位置5
fp_data.push(["ad/ak.jpg","http://www.jy391.com/thread-17676-1-1.html"]);
fp_data.push(["ad/qq.jpg","http://www.jy391.com/thread-21995-1-1.html"]);//AE维护部分 结束
var fp_pics="",fp_links="";
var fp_lens = fp_data.length;
for(var i=0; i<fp_lens; i++){
fp_pics += fp_data[i][0];
fp_links += escape(fp_data[i][1]);if(i%2==0 && i!=fp_lens-1){
fp_pics += "§";
fp_links += "§";
}else if(i%2==1 && i!=fp_lens-1){
fp_pics += "§_§";
fp_links += "§_§";
}
}
var oswf = new sinaFlash("ad/flash/flipper_v2.swf", "flipper", 685, 90, "5", "#FFFFFF" ,false, "High"); //flash位址,宽度,高度,翻牌数,背景色
oswf.addParam("allowScriptAccess", "always");
oswf.addParam("menu", "false");
oswf.addParam("wmode", "opaque");
oswf.addParam("scale", "noscale");
oswf.addVariable("pic_width", "120"); //图片宽
oswf.addVariable("pic_height", "75"); //图片高
oswf.addVariable("colnum", "5"); //翻牌数
oswf.addVariable("hspace", "15");
oswf.addVariable("vspace", "20");
oswf.addVariable("flip_time", "200");
oswf.addVariable("pause_time", "2000");
oswf.addVariable("pics", fp_pics);
oswf.addVariable("urls", fp_links);
oswf.addVariable("rand", "0");
oswf.writ
【文件预览】:
js
----sinaflash.js(4KB)
A5下载- 更全的站长资源平台.url
flash
----flipper_v2.swf(8KB)