繁體
|
簡體
Sclub交友聊天~加入聊天室當版主
(檢舉)
分享
新浪微博
QQ空间
人人网
腾讯微博
Facebook
Google+
Plurk
Twitter
Line
標題:
[分享]
7格翻牌广告效果、代码及使用
[打印本頁]
作者:
aisisi8
時間:
2013-4-9 09:25
標題:
7格翻牌广告效果、代码及使用
本帖最後由 aisisi8 於 2013-4-9 10:36 編輯
一、翻牌广告效果
下載
(34 KB)
2013-4-9 09:20
效果演示:
http://aisisi8.joinbbs.net
二、代码
<DIV id=flipper_div align=left>
<embed id="flipper" width="942" height="90" src="http://aisisi8.joinbbs.net/attachments/month_1304/13040816542232045b54677cb0.swf" quality="High" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#FFFFFF" allowscriptaccess="always" menu="false" wmode="transparent" scale="noscale" FlashVars="pic_width=116&pic_height=75&colnum=7&hspace=12&vspace=12&flip_time=200&pause_time=2000&pics=http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg§_§http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg§http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg&urls=http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3Aaisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net§_§http%3A//aisisi8.joinbbs.net§http%3A//aisisi8.joinbbs.net&rand=0" ></embed//aisisi8.joinbbs.net></DIV>
<SCRIPT type=text/javascript>
<!--
var fp_data = new Array();
// AE维护部分 开始
//位置1
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置2
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置3
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置4
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置5
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置6
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//位置7
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
//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("http://aisisi8.joinbbs.net/attachments/month_1304/13040816542232045b54677cb0.swf", "flipper", 950, 90, "7", "#FFFFFF", false, "High");
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", "7");
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.write("flipper_div");
//-->
</SCRIPT//aisisi8.joinbbs.net>
<!-- Flash翻牌 结束 --></DIV>
複製代碼
三、使用说明
后台-》广告-》自定义广告—》添加分类间广告
下載
(83.53 KB)
2013-4-9 09:23
把代码复制到html代码框里即可。
可以在代码里修改图片和网站链接。
圖片附件:
add.jpg
(2013-4-9 09:20, 34 KB) / 下載次數 1878
http://orzweb.net/discuz/attachment.php?aid=20007&k=3cc11997163841bb1f4e25d76c59107c&t=1732380393&sid=oYo01y
圖片附件:
未命名000.jpg
(2013-4-9 09:23, 83.53 KB) / 下載次數 1869
http://orzweb.net/discuz/attachment.php?aid=20008&k=6acd82e1bff78656b18a1f50c3880474&t=1732380393&sid=oYo01y
作者:
ldzy
時間:
2013-4-9 09:54
测试通过。。支持楼主~!
作者:
aisisi8
時間:
2013-4-9 15:59
回復
2#
ldzy
谢谢回复支持,只有人分享,没人顶。。。。。o(︶︿︶)o 唉
作者:
ldzy
時間:
2013-4-9 16:15
要管理顶的。
作者:
ldzy
時間:
2013-4-27 21:30
再顶一次
歡迎光臨 SCLUB免費論壇申請-使用者論壇 (http://orzweb.net/discuz/)
Powered by Discuz! 7.2