霸气网游公会

 找回密码
 加入霸气
查看: 249|回复: 0

6图片自动切换广告

[复制链接]
发表于 2009-3-28 17:00:40 | |阅读模式

欢迎加入霸气网游公会社区,马上注册,享用更多功能。

您需要 登录 才可以下载或查看,没有账号?加入霸气

x



  1. <SCRIPT>
  2. var NowFrame = 1;
  3. var MaxFrame = 6;
  4. var bStart = 0;
  5. function fnToggle() {
  6. var next = NowFrame + 1;
  7. if(next == MaxFrame+1)
  8. {
  9. NowFrame = MaxFrame;
  10. next = 1;
  11. }
  12. if(bStart == 0)
  13. {
  14. bStart = 1;

  15. setTimeout('fnToggle()', 1000);
  16. return;
  17. }
  18. else
  19. {
  20. oTransContainer.filters[0].Apply();
  21. document.images['oDIV'+next].style.display = "";
  22. document.images['oDIV'+NowFrame].style.display = "none";
  23. oTransContainer.filters[0].Play(duration=5);
  24. if(NowFrame == MaxFrame)
  25. NowFrame = 1;
  26. else
  27. NowFrame++;
  28. } setTimeout('fnToggle()', 6000);
  29. }
  30. fnToggle();
  31. </SCRIPT><!--焦点图片开始-->
  32. <DIV id=oTransContainer style="FILTER: progidXImageTransform.Microsoft.Wipe(GradientSize=1.0, wipeStyle=0, motion='forward'); background-color:#45324b; margin:0px; padding:0px;WIDTH: 728px; HEIGHT: 90px">
  33. <A href="http://www.871314.com/thread-199368-1-1.html" target=_blank><IMG src="http://www.871314.com/广告图片/zhengwenda.gif" name="oDIV1" width=880 height=100 border=0 id=oDIV1 style="DISPLAY: yes; "></A>
  34. <A href="http://www.871314.com/thread-109394-1-1.html" target=_blank><IMG id=oDIV2 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" src="http://www.871314.com/广告图片/zugeda.gif" width=880 height=100 border=0></A>
  35. <A href="http://www.871314.com/forum-179-1.html" target=_blank><IMG id=oDIV3 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" src="http://www.871314.com/广告图片/lishida.gif"width=880 height=100 border=0></A>
  36. <A href="http://www.871314.com/thread-120553-1-1.html" target=_blank><IMG id=oDIV4 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" src="http://www.871314.com/广告图片/jijinda.gif" width=880 height=100 border=0></A>
  37. <A href="http://www.871314.com/thread-69285-1-1.html" target=_blank><IMG id=oDIV5 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" src="http://www.871314.com/广告图片/jiayuanda.gif"width=880 height=100 border=0></A>
  38. <A href="http://www.871314.com/forum-480-1.html" target=_blank><IMG id=oDIV6 style="BORDER-RIGHT: black 0px solid; BORDER-TOP: black 0px solid; DISPLAY: none; BORDER-LEFT: black 0px solid; BORDER-BOTTOM: black 0px solid" src="http://www.871314.com/bq/永恒之塔.jpg" width=880 height=100 border=0></A> </DIV>
  39. <!--焦点图片结束-->
复制代码

Archiver|手机版|小黑屋|霸气网游公会 ( 蜀ICP备18016790号-3 )

GMT+8, 2024-12-22 20:17 , Processed in 0.073254 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表