免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

標題: [分享] 雪花飞满天 [打印本頁]

作者: 那个b    時間: 2013-12-30 14:49     標題: 雪花飞满天

雪花代码
  1. <HTML><HEAD><TITLE>满天飞舞的雪花</TITLE>
  2. <META http-equiv=Content-Type content="text/html; charset=gb2312">
  3. <SCRIPT>
  4. var pos1=-95;
  5. var pos2=-95;
  6. var pos3=-95;
  7. var pos4=-95;
  8. var pos5=-95;
  9. var pos6=-95;
  10. var pos7=-95;
  11. var pos8=-95;
  12. var pos9=-95;
  13. var pos10=-95;
  14. var pos11=-95;
  15. var pos12=-95;
  16. var pos13=-95;
  17. var pos14=-95;
  18. var pos15=-95;
  19. var pos16=-95;
  20. var pos17=-95;
  21. var pos18=-95;
  22. var pos19=-95;
  23. var pos20=-95;
  24. var pos21=-95;
  25. var pos22=-95;
  26. var pos23=-95;
  27. var pos24=-95;
  28. var pos25=-95;

  29. var speed1=Math.floor(Math.random()*10)+2;
  30. var speed2=Math.floor(Math.random()*10)+2;
  31. var speed3=Math.floor(Math.random()*10)+2;
  32. var speed4=Math.floor(Math.random()*10)+2;
  33. var speed5=Math.floor(Math.random()*10)+2;
  34. var speed6=Math.floor(Math.random()*10)+2;
  35. var speed7=Math.floor(Math.random()*10)+2;
  36. var speed8=Math.floor(Math.random()*10)+2;
  37. var speed9=Math.floor(Math.random()*10)+2;
  38. var speed10=Math.floor(Math.random()*10)+2;
  39. var speed11=Math.floor(Math.random()*10)+2;
  40. var speed12=Math.floor(Math.random()*10)+2;
  41. var speed13=Math.floor(Math.random()*10)+2;
  42. var speed14=Math.floor(Math.random()*10)+2;
  43. var speed15=Math.floor(Math.random()*10)+2;
  44. var speed16=Math.floor(Math.random()*10)+2;
  45. var speed17=Math.floor(Math.random()*10)+2;
  46. var speed18=Math.floor(Math.random()*10)+2;
  47. var speed19=Math.floor(Math.random()*10)+2;
  48. var speed20=Math.floor(Math.random()*10)+2;
  49. var speed21=Math.floor(Math.random()*10)+2;
  50. var speed22=Math.floor(Math.random()*10)+2;
  51. var speed23=Math.floor(Math.random()*10)+2;
  52. var speed24=Math.floor(Math.random()*10)+2;
  53. var speed25=Math.floor(Math.random()*10)+2;
  54. function next()
  55. {
  56. pos1+=speed1;
  57. pos2+=speed2;
  58. pos3+=speed3;
  59. pos4+=speed4;
  60. pos5+=speed5;
  61. pos6+=speed6;
  62. pos7+=speed7;
  63. pos8+=speed8;
  64. pos9+=speed9;
  65. pos10+=speed10;
  66. pos11+=speed11;
  67. pos12+=speed12;
  68. pos13+=speed13;
  69. pos14+=speed14;
  70. pos15+=speed15;
  71. pos16+=speed16;
  72. pos17+=speed17;
  73. pos18+=speed18;
  74. pos19+=speed19;
  75. pos20+=speed20;
  76. pos21+=speed21;
  77. pos22+=speed22;
  78. pos23+=speed23;
  79. pos24+=speed24;
  80. pos25+=speed25;


  81. if(pos1>795)pos1=-95;
  82. if(pos2>795)pos2=-95;
  83. if(pos3>795)pos3=-95;
  84. if(pos4>795)pos4=-95;
  85. if(pos5>795)pos5=-95;
  86. if(pos6>795)pos6=-95;
  87. if(pos7>795)pos7=-95;
  88. if(pos8>795)pos8=-95;
  89. if(pos9>795)pos9=-95;
  90. if(pos10>795)pos10=-95;
  91. if(pos11>795)pos11=-95;
  92. if(pos12>795)pos12=-95;
  93. if(pos13>795)pos13=-95;
  94. if(pos14>795)pos14=-95;
  95. if(pos15>795)pos15=-95;
  96. if(pos16>795)pos16=-95;
  97. if(pos17>795)pos17=-95;
  98. if(pos18>795)pos18=-95;
  99. if(pos19>795)pos19=-95;
  100. if(pos20>795)pos20=-95;
  101. if(pos21>795)pos21=-95;
  102. if(pos22>795)pos22=-95;
  103. if(pos23>795)pos23=-95;
  104. if(pos24>795)pos24=-95;
  105. if(pos25>795)pos25=-95;


  106. document.getElementById("mouse1").style.posTop=pos1;
  107. document.getElementById("mouse2").style.posTop=pos2;
  108. document.getElementById("mouse3").style.posTop=pos3;
  109. document.getElementById("mouse4").style.posTop=pos4;
  110. document.getElementById("mouse5").style.posTop=pos5;
  111. document.getElementById("mouse6").style.posTop=pos6;
  112. document.getElementById("mouse7").style.posTop=pos7;
  113. document.getElementById("mouse8").style.posTop=pos8;
  114. document.getElementById("mouse9").style.posTop=pos9;
  115. document.getElementById("mouse10").style.posTop=pos10;
  116. document.getElementById("mouse11").style.posTop=pos11;
  117. document.getElementById("mouse12").style.posTop=pos12;
  118. document.getElementById("mouse13").style.posTop=pos13;
  119. document.getElementById("mouse14").style.posTop=pos14;
  120. document.getElementById("mouse15").style.posTop=pos15;
  121. document.getElementById("mouse16").style.posTop=pos16;
  122. document.getElementById("mouse17").style.posTop=pos17;
  123. document.getElementById("mouse18").style.posTop=pos18;
  124. document.getElementById("mouse19").style.posTop=pos19;
  125. document.getElementById("mouse20").style.posTop=pos20
  126. document.getElementById("mouse21").style.posTop=pos21;
  127. document.getElementById("mouse22").style.posTop=pos22;
  128. document.getElementById("mouse23").style.posTop=pos23;
  129. document.getElementById("mouse24").style.posTop=pos24;
  130. document.getElementById("mouse25").style.posTop=pos25;
  131. window.setTimeout("next()",10);
  132. }
  133. </SCRIPT>

  134. <META content="MSHTML 6.00.3790.186" name=GENERATOR></HEAD>
  135. <BODY bgColor=skyblue onload=next()>
  136. <DIV id=mouse1
  137. style="FONT-SIZE: 34pt; LEFT: 24pt; COLOR: white; POSITION: absolute">*</DIV>
  138. <DIV id=mouse2
  139. style="FONT-SIZE: 22pt; LEFT: 48pt; COLOR: white; POSITION: absolute">*</DIV>
  140. <DIV id=mouse3
  141. style="FONT-SIZE: 55pt; LEFT: 72pt; COLOR: white; POSITION: absolute">*</DIV>
  142. <DIV id=mouse4
  143. style="FONT-SIZE: 56pt; LEFT: 96pt; COLOR: white; POSITION: absolute">*</DIV>
  144. <DIV id=mouse5
  145. style="FONT-SIZE: 9pt; LEFT: 120pt; COLOR: white; POSITION: absolute">*</DIV>
  146. <DIV id=mouse6
  147. style="FONT-SIZE: 25pt; LEFT: 144pt; COLOR: white; POSITION: absolute">*</DIV>
  148. <DIV id=mouse7
  149. style="FONT-SIZE: 13pt; LEFT: 168pt; COLOR: white; POSITION: absolute">*</DIV>
  150. <DIV id=mouse8
  151. style="FONT-SIZE: 32pt; LEFT: 182pt; COLOR: white; POSITION: absolute">*</DIV>
  152. <DIV id=mouse9
  153. style="FONT-SIZE: 25pt; LEFT: 206pt; COLOR: white; POSITION: absolute">*</DIV>
  154. <DIV id=mouse10
  155. style="FONT-SIZE: 24pt; LEFT: 230pt; COLOR: white; POSITION: absolute">*</DIV>
  156. <DIV id=mouse11
  157. style="FONT-SIZE: 12pt; LEFT: 254pt; COLOR: white; POSITION: absolute">*</DIV>
  158. <DIV id=mouse12
  159. style="FONT-SIZE: 9pt; LEFT: 278pt; COLOR: white; POSITION: absolute">*</DIV>
  160. <DIV id=mouse13
  161. style="FONT-SIZE: 34pt; LEFT: 300pt; COLOR: white; POSITION: absolute">*</DIV>
  162. <DIV id=mouse14
  163. style="FONT-SIZE: 32pt; LEFT: 340pt; COLOR: white; POSITION: absolute">*</DIV>
  164. <DIV id=mouse15
  165. style="FONT-SIZE: 15pt; LEFT: 360pt; COLOR: white; POSITION: absolute">*</DIV>
  166. <DIV id=mouse16
  167. style="FONT-SIZE: 34pt; LEFT: 390pt; COLOR: white; POSITION: absolute">*</DIV>
  168. <DIV id=mouse17
  169. style="FONT-SIZE: 24pt; LEFT: 420pt; COLOR: white; POSITION: absolute">*</DIV>
  170. <DIV id=mouse18
  171. style="FONT-SIZE: 35pt; LEFT: 440pt; COLOR: white; POSITION: absolute">*</DIV>
  172. <DIV id=mouse19
  173. style="FONT-SIZE: 45pt; LEFT: 480pt; COLOR: white; POSITION: absolute">*</DIV>
  174. <DIV id=mouse20
  175. style="FONT-SIZE: 14pt; LEFT: 520pt; COLOR: white; POSITION: absolute">*</DIV>
  176. <DIV id=mouse21
  177. style="FONT-SIZE: 32pt; LEFT: 550pt; COLOR: white; POSITION: absolute">*</DIV>
  178. <DIV id=mouse22
  179. style="FONT-SIZE: 45pt; LEFT: 560pt; COLOR: white; POSITION: absolute">*</DIV>
  180. <DIV id=mouse23
  181. style="FONT-SIZE: 24pt; LEFT: 580pt; COLOR: white; POSITION: absolute">*</DIV>
  182. <DIV id=mouse24
  183. style="FONT-SIZE: 12pt; LEFT: 600pt; COLOR: white; POSITION: absolute">*</DIV>
  184. <DIV id=mouse25
  185. style="FONT-SIZE: 35pt; LEFT: 640pt; COLOR: white; POSITION:

  186. absolute">*</DIV></BODY></HTML>




  187. <br><br><br>
  188. <p><font color=red>oocn</font></p>
複製代碼
随便玩一下  放第三方
作者: superman1024    時間: 2013-12-30 15:02

謝謝分享
作者: pigeon    時間: 2013-12-30 20:43

好复杂呀。感谢分享。
作者: 达人小G    時間: 2013-12-31 02:26

这么多代码会卡论坛的吧
作者: knights23    時間: 2013-12-31 03:05

有没有预览图之类的呢
作者: 章鱼    時間: 2013-12-31 08:20

问题在于你的代码不仅写的很混乱,而且还不能用,....
作者: 那个b    時間: 2013-12-31 08:27

回復 6# 章鱼


    能用啊 http://cn.joinbbs.net/index.php
作者: 金智希    時間: 2013-12-31 14:47

放在那里?><
作者: 情蕭    時間: 2013-12-31 19:03

放在那里?>
金智希 發表於 2013-12-31 14:47



    LZ不是说了 放第三方
作者: 情蕭    時間: 2013-12-31 19:04

太长了 不想用、
作者: 金智希    時間: 2014-1-1 11:03

想用~但是那麼長~
會讓其他第三那邊的代碼出問題吧?><
作者: 章鱼    時間: 2014-1-1 17:38

回復 7# 那个b


   
只有IE下能用
而且你在body里面嵌套一个body这算是什么东西,显然至少应该把里面的代码分离出来
作者: 章鱼    時間: 2014-1-1 17:39

回復 7# 那个b


   
顺便再跟你说一下,你这个代码还会导致官方的左侧分享菜单失效,可能会被封站
作者: party    時間: 2014-1-6 01:35

提示: 作者被禁止或刪除 內容自動屏蔽




歡迎光臨 SCLUB免費論壇申請-使用者論壇 (http://youpost.info/discuz/) Powered by Discuz! 7.2