免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[分享] 7格翻牌广告效果、代码及使用

本帖最後由 aisisi8 於 2013-4-9 10:36 編輯

一、翻牌广告效果
add.jpg
效果演示:http://aisisi8.joinbbs.net
二、代码
  1. <DIV id=flipper_div align=left>
  2. <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>
  3. <SCRIPT type=text/javascript>
  4. <!--
  5. var fp_data = new Array();

  6. // AE维护部分 开始

  7. //位置1
  8. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  9. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  10. //位置2
  11. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  12. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  13. //位置3
  14. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  15. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  16. //位置4
  17. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  18. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);
  19. //位置5
  20. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  21. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  22. //位置6
  23. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  24. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  25. //位置7
  26. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/13040909080f82d3c61128d7d0.jpg","http://aisisi8.joinbbs.net"]);
  27. fp_data.push(["http://aisisi8.joinbbs.net/attachments/month_1304/1304090908a124b6c1e09fa150.jpg","http://aisisi8.joinbbs.net"]);

  28. //AE维护部分 结束

  29. var fp_pics="",fp_links="";
  30. var fp_lens = fp_data.length;
  31. for(var i=0; i<fp_lens; i++){
  32.         fp_pics += fp_data[i][0];
  33.         fp_links += escape(fp_data[i][1]);
  34.         if(i%2==0 && i!=fp_lens-1){
  35.                 fp_pics += "§";
  36.                 fp_links += "§";
  37.         }else if(i%2==1 && i!=fp_lens-1){
  38.                 fp_pics += "§_§";
  39.                 fp_links += "§_§";
  40.         }
  41. }
  42. var oswf = new sinaFlash("http://aisisi8.joinbbs.net/attachments/month_1304/13040816542232045b54677cb0.swf", "flipper", 950, 90, "7", "#FFFFFF", false, "High");
  43. oswf.addParam("allowScriptAccess", "always");
  44. oswf.addParam("menu", "false");
  45. oswf.addParam("wmode", "opaque");
  46. oswf.addParam("scale", "noscale");
  47. oswf.addVariable("pic_width", "120");
  48. oswf.addVariable("pic_height", "75");
  49. oswf.addVariable("colnum", "7");
  50. oswf.addVariable("hspace", "15");
  51. oswf.addVariable("vspace", "20");
  52. oswf.addVariable("flip_time", "200");
  53. oswf.addVariable("pause_time", "2000");
  54. oswf.addVariable("pics", fp_pics);
  55. oswf.addVariable("urls", fp_links);
  56. oswf.addVariable("rand", "0");
  57. oswf.write("flipper_div");
  58. //-->
  59. </SCRIPT//aisisi8.joinbbs.net>

  60. <!-- Flash翻牌 结束 --></DIV>
複製代碼
三、使用说明
后台-》广告-》自定义广告—》添加分类间广告
未命名000.jpg
把代码复制到html代码框里即可。

可以在代码里修改图片和网站链接。
1

評分人數

测试通过。。支持楼主~!

TOP

回復 2# ldzy


    谢谢回复支持,只有人分享,没人顶。。。。。o(︶︿︶)o 唉

TOP

要管理顶的。

TOP

再顶一次

TOP

返回列表