- 積分
- 57
- 威望
- 57
- 金錢
- 63
- 最後登錄
- 2013-5-22
|
本帖最後由 aisisi8 於 2013-4-9 10:36 編輯
一、翻牌广告效果
效果演示: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>
複製代碼 三、使用说明
后台-》广告-》自定义广告—》添加分类间广告
把代码复制到html代码框里即可。
可以在代码里修改图片和网站链接。 |
-
1
評分人數
-
|